Blog

1 week ago

Deterministic Routing: The Hidden Key to Low Latency

Random routing scatters requests, kills cache locality, and inflates tail latency in high-throughput systems.We fixed it using a clean two-layer deterministic routing strategy: Layer 1 (Ingress): Istio consistentHash on primary key → same entity always lands on the same app podLayer 2 (App → DB): CockroachDB client handles leaseholder routing with zone configs and follower reads Production results (>1600 TPS):• 29% P95 latency reduction• 2.1× throughput on same infrastructure• 42% faster failover recovery• $1.2M annualized cost savingsCore insight: Many latency problems aren’t tuning issues — they’re routing problems. Align routing with data locality and keep the layers separate.

Source: HackerNoon →


Share

BTCBTC
$80,691.00
1.03%
ETHETH
$2,284.35
2.14%
USDTUSDT
$1.000
0.01%
BNBBNB
$667.49
0.04%
XRPXRP
$1.44
2.62%
USDCUSDC
$1.000
0.01%
SOLSOL
$94.44
2.9%
TRXTRX
$0.349
0.45%
FIGR_HELOCFIGR_HELOC
$1.04
0.73%
DOGEDOGE
$0.110
0.94%
WBTWBT
$59.24
1.3%
USDSUSDS
$1.000
0.01%
ADAADA
$0.272
2.79%
ZECZEC
$581.79
3.87%
HYPEHYPE
$40.10
4.13%
LEOLEO
$9.98
0.6%
BCHBCH
$439.95
1.94%
XMRXMR
$411.75
0.64%
LINKLINK
$10.31
2.27%
TONTON
$2.31
5.84%