Practical overview
When it fits
Consider Cacherpc when operating a self-hosted Solana JSON-RPC endpoint and evaluating a cache layer for frequent account or program queries. Its documented status as an early-stage project not ready for production use should shape that evaluation.
Who it is for
- Operators running a Solana validator or cluster RPC endpoint who want a cache layer in front of it.
- Teams serving Solana clients that frequently request account or program data and need controls over cache size and upstream request concurrency.
Documented uses
- Reduce repeated getAccountInfo and getProgramAccounts requests reaching a validator.
- Keep cached account and program information updated using a PubSub connection.
- Set cache limits, time-to-live, request concurrency, queues and timeouts for the service.
- Expose service metrics in Prometheus-compatible format.
Requirements & limits
The project is available as a public GitHub repository under the MIT license. The documented build requires Rust and Cargo.
- Only getAccountInfo and getProgramAccounts are listed as implemented caching methods; other methods pass through to the validator.
- The service needs upstream JSON-RPC HTTP and PubSub endpoints for its documented role.
- Cache size and time-to-live, request limits, queue sizes, WebSocket connections and timeout behavior are configurable.
- The project README warns that it is early-stage and not ready for production use.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Build the Cacherpc server binary
Build the documented release binary for a self-hosted Solana RPC cache.
Before you start
- Rust compiler and Cargo, as specified by the project README.
Steps
From the repository, run the command below.
cargo build --releaseUse the resulting
./target/release/rpccachebinary as the documented server executable.
Expected outcome
A release-mode Cacherpc server binary is built and available at the documented path.
Guide limitations
- This covers building the binary only; it does not configure or launch the service.
- The README says the project is an early-stage work in progress and is not ready for production use.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 October 2026
- Original website title
- bestarch-ae/cacherpc · Official homepage title · retained in its source language

