2025 / Backend systems

Distributed Traffic Router

A heartbeat and success-rate based routing layer for payment traffic across multi-infra providers, built to improve failover and transaction reliability.

JavaSpring BootDistributed SystemsPaymentsReliability

Context

Built at PayU for routing payment traffic across multiple infrastructure providers.

Problem

Payment traffic needed to keep flowing even when one infra provider degraded, while avoiding manual intervention and coarse failover switches.

  1. Combined heartbeat health checks with success-rate driven routing signals.
  2. Designed routing decisions around live provider health instead of static preferences.
  3. Kept failure handling explicit so operational teams could reason about traffic movement.
  • Improved transaction SRT by roughly 15-20%.
  • Enabled automatic failover at scale.
  • Reduced operational dependency during provider degradation.

Routing simulation

A sample view can show provider health, success rate, routed traffic share, and the moment traffic shifts after degraded heartbeats.

01 Monitor infra heartbeats02 Score provider health03 Shift traffic gradually04 Restore normal routing
Back to Projects