OpenViSTAI · Agents · Blockchain · Crypto
Menu
Infrastructure

Cacherpc

Cacherpc is a self-hosted Rust server binary that sits in front of a Solana validator or cluster as its public JSON-RPC entry point. It caches getAccountInfo and getProgramAccounts responses and uses PubSub to keep requested information updated, while passing other methods through to the upstream endpoint.

Independent OpenViST project profile, based on linked sources.

Cacherpc — OpenViST project profile in Infrastructure.
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. From the repository, run the command below.

    Documented command
    cargo build --release
  2. Use the resulting ./target/release/rpccache binary 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.
Evidence and transparency

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