Contents

Chapter 1

RPC Load Balancer

Multi-provider RPC management with automatic failover, rate limiting, latency-based routing, and health monitoring.

Product 10 of the defi-router store. Part of the CryptoForge DeFi toolkit.

Price: $9.99 | License: MIT | Runtime: Node.js >=18 | Language: TypeScript + Python


Chapter 2

Overview

@cryptoforge/rpc-load-balancer distributes Ethereum JSON-RPC requests across multiple providers (Alchemy, Infura, QuickNode, Ankr, public RPCs) based on latency, error rates, and rate limits. It handles failover automatically so your application stays online even when individual providers go down.

Key Features

  • 3 load balancing strategies — Round-robin, least-latency (EMA), weighted-random
  • Automatic failover — If a provider errors, the request retries on the next best provider
  • Circuit breaker — Opens after N consecutive failures, half-open probes after cooldown
  • Per-provider rate limiting — Token bucket algorithm respects each provider's RPS limit
  • Health monitoring — Latency P50/P95/P99, error rate, uptime, requests/minute per provider
  • Batch support — JSON-RPC batch protocol for multi-call efficiency
  • Convenience methods — eth_call, eth_getBalance, eth_blockNumber, and more
  • Python wrapper — Async implementation with the same strategy support
  • Zero ethers dependency — Pure HTTP transport; ethers is an optional peer dependency
Chapter 3
🔒 Available in full product

Architecture

Chapter 4
🔒 Available in full product

Quick Start

You’ve reached the end of the free preview

Get the full Rpc Load Balancer and unlock everything.

All Chapters

Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.

Full Tool Suite

Access all interactive tools with complete data, all workload profiles, and the full scenario library.

Source Files

Downloadable source code, configuration files, and working examples from every chapter.

Lifetime Updates

Free updates for life. Every new chapter, tool, and improvement included.

Buy Now — $10 →
📦 Free sample included — download another copy for the full product.
Rpc Load Balancer v1.0.0 — Free Preview