---
title: "Client-Side Load Balancing at a Million Requests Per Second"
description: "Zalando moved the high fan-out internal traffic of its Product Read API (over a million requests per second at peak) off the shared Skipper ingress and onto an in-process client-side load balancer."
url: "https://swe.quest/articles/client-side-load-balancing-at-a-million-requests-per-second-9bf178158e4acd04"
canonical: "https://engineering.zalando.com/posts/2026/06/client-side-load-balancing.html"
source: "Zalando Engineering"
published: "2026-06-22"
difficulty: "hard"
kind: "Case study"
reading_minutes: 28
tags: ["load-balancing","kubernetes","caching","scalability","jvm"]
---

# Client-Side Load Balancing at a Million Requests Per Second

A post on [Zalando Engineering](https://swe.quest/sources/zalando.md), published 2026-06-22, 28 min read, Case study. Original: [https://engineering.zalando.com/posts/2026/06/client-side-load-balancing.html](https://engineering.zalando.com/posts/2026/06/client-side-load-balancing.html)

## Summary

Zalando moved the high fan-out internal traffic of its Product Read API (over a million requests per second at peak) off the shared Skipper ingress and onto an in-process client-side load balancer. The balancer reproduces Skipper's xxHash64 consistent-hash ring with 100 virtual nodes so caches stay aligned during migration, and discovers pods through a watch-based Kubernetes EndpointSlice informer with a 2-second debounce. Rollout ran behind percentage toggles with a transparent Skipper fallback. It flattened latency spikes and shrank Skipper's fleet from over 50 pods to 8, cutting daily node cost from about $450 to $110. Owning the balancer also enabled N-ring fade-in, which warms new pods with exactly the keys they will keep, and bounded load driven by per-pod occupancy (seconds of work per second) rather than in-flight counts. The work was made possible by first cutting median deploy time from 289 to 128 minutes.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Load balancing](https://swe.quest/tags/load-balancing.md) (Infrastructure)
- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Caching](https://swe.quest/tags/caching.md) (Backend & APIs)
- [Scaling](https://swe.quest/tags/scalability.md) (Distributed systems)
- [Java & JVM](https://swe.quest/tags/jvm.md) (Languages)

## Prerequisites

- consistent hashing
- Kubernetes services and EndpointSlices ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- load balancing basics ([easy posts on Load balancing](https://swe.quest/tags/load-balancing.md?difficulty=easy))
- cache warming ([easy posts on Caching](https://swe.quest/tags/caching.md?difficulty=easy))

## Keywords

Skipper, xxHash64, EndpointSlice, Kubernetes informer, bounded load, DynamoDB, Horizontal Pod Autoscaler

## Related posts

- [Scaling Beyond Limits: Harnessing Route Server for a Stable Cluster](https://swe.quest/articles/scaling-beyond-limits-harnessing-route-server-for-a-stable-cluster-25826a1197db482d.md): Zalando Engineering · 2025-02-16 · Medium · 5 min read · Kubernetes, Load balancing, Scaling, Caching, Deployment
  Zalando put a Route Server between its Skipper ingress proxies and the Kubernetes API after roughly 180 Skipper instances per cluster, each polling Ingresses and RouteGroups, overloaded etcd and throttled the API server.
- [From Event-Driven Chaos to a Blazingly Fast Serving API](https://swe.quest/articles/from-event-driven-chaos-to-a-blazingly-fast-serving-api-515d5b06058dbe2a.md): Zalando Engineering · 2025-03-06 · Medium · 8 min read · Caching, Load balancing, Event-driven architecture, Performance engineering, E-commerce
  Zalando replaced an event-driven pipeline that merged Product, Price and Stock events with a central Product Read API (PRAPI).
- [Node.js at scale, rebalanced: how we cut cost by 38%](https://swe.quest/articles/node-js-at-scale-rebalanced-how-we-cut-cost-by-38-1008b397ea498cc9.md): Booking.com Engineering · 2026-09-29 · Medium · 17 min read · JavaScript, Performance engineering, Cost optimization, Load balancing, Runtimes & VMs
  Booking.com cut compute costs for its largest Node.js React SSR service by 38% (30% fewer pods, 20% less memory per pod, up to 10% lower tail latency) without touching service code, by moving from pm2's cluster-based processes to wattpm worker threads and revisiting long-untouched configuration.
- [Leveraging Go Worker Pools to Scale Server-side Data Sharing](https://swe.quest/articles/leveraging-go-worker-pools-to-scale-server-side-data-sharing-5ace4b0b544c8996.md): Shopify Engineering · 2022-09-09 · Medium · 7 min read · Go, Concurrency, Performance engineering, Queues & messaging, Scaling
  Shopify's Server Pixels service, a Go pipeline that consumes over a billion customer events per day from Kafka, fell behind on consumer lag because it spawned an unbounded number of goroutines to process and produce event batches.
- [Migrating Millions of Concurrent Websockets to Envoy](https://swe.quest/articles/migrating-millions-of-concurrent-websockets-to-envoy-b99b542be70019c3.md): Slack Engineering · 2021-03-15 · Medium · 11 min read · Load balancing, Real-time systems, Deployment, Configuration management, Networking
  Slack moved its websocket ingress tier, serving millions of concurrent connections, from HAProxy to Envoy Proxy.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
