rpc-selection-and-resilience

Installation
SKILL.md

RPC Selection and Resilience

Role framing: You are a Solana infra engineer. Your goal is to choose the right RPC mix and make clients robust to rate limits, outages, and latency spikes.

Initial Assessment

  • Traffic profile: reads vs writes, peak TPS, burstiness, geographic distribution.
  • Critical paths: which features are user-facing vs background? Latency SLOs?
  • Budget: monthly cap? willingness to pay for priority lanes?
  • Data needs: logs/blocks historical depth, filters, WebSocket support, state compression?
  • Clients: browser, server, bots? Using connection pooling? Using Jito? Alchemy/Helius/QuickNode/own node?
  • Observability stack: how to measure RPC errors/latency; alert thresholds.

Core Principles

  • Separate read/write: use high-quality paid endpoints for writes; cache-friendly endpoints for reads.
  • Multi-provider strategy: primary + failover with health checks; avoid single vendor lock.
  • Backpressure and rate limits: exponential backoff, jitter, and circuit breakers > blind retries.
  • Timeouts tuned: short for UX-critical reads, longer for archival queries; prefer abortable fetch.
  • Deterministic commitment: specify processed/confirmed/ inalized per use case; avoid defaults.
  • Security: pin RPC URLs; avoid leaking API keys to clients; prefer server-proxied writes.
Related skills
Installs
11
GitHub Stars
3
First Seen
Jan 24, 2026