Skip to content
Back to all work

03

Built at Jio Platforms

Ethereum JSON-RPC Load Balancer

A production RPC gateway that keeps Ethereum traffic flowing when providers fail.

Internal work, no public repo
Failover diagramRequests fall into a router and travel down three provider lines. Failing a provider opens its breaker and reroutes traffic; a health check later restores it. Illustrative.RequestsRedis cacheRouterProvider AProvider BProvider C

Fig. 3 Failover. Illustrative diagram of the gateway built at Jio Platforms. Fail a provider to see traffic reroute.

Problem

When an RPC provider fails, the Ethereum traffic routed to it fails too.

Approach

Routing across providers with circuit breaking and failover. Redis caching and request deduplication reduce latency and improve throughput. Health checks monitor providers and recover them automatically.

Outcome

A failing provider trips its breaker and drops out of rotation. Health checks bring it back automatically, and Prometheus and Grafana show it happening in real time.

Stack

  • Ethereum JSON-RPC
  • Redis
  • Prometheus
  • Grafana