Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Zalando Engineering 13 min read Case study mediumAdept

Next level customer experience with HTTP/3 traffic engineering

HTTP/3 over QUIC addresses TCP-era protocol inefficiencies: head-of-line blocking, multi-round-trip handshakes (5-6 for cold HTTP/2 vs 3 for HTTP/3), layered TLS overhead, kernel-bound congestion control and lack of connection migration. Open problems remain, including UDP datagram loss still causing blocking, higher memory and kernel-to-user copy costs, ISP and middlebox policies tuned for TCP, unsettled congestion control (NewReno, CUBIC, BBR), and the 1280-byte minimum MTU. On 5G mid-band radio networks, only BBR handles noise-, blockage- and handover-induced loss well. Zalando has adopted HTTP/3 for distributing all media content, relying on CloudFront edge locations, Apple's native iOS stack and Cronet on Android.

Related posts

  • Retrospective and Technical Details on the recent Firefox Outage

    Mozilla Hacks mediumAdept

    On January 13, 2022, Firefox hung worldwide for about two hours after Google Cloud silently made HTTP/3 the default on load balancers left at "Automatic", causing Telemetry connections to switch from HTTP/2 to HTTP/3. Telemetry's Rust code sent requests through the viaduct library, which lower-cased the Content-Length header. Necko's high-level API checked headers case-insensitively, but its HTTP/3 code looked them up case-sensitively, so it treated the request as complete with the body unsent and looped forever on the single socket thread, blocking all networking. Lessons include setting load balancer options explicitly instead of relying on defaults, and running system tests across HTTP versions and intermediate networking layers in CI.

  • Incident Report: October 16th, 2025

    Railway easyNovice

    A traffic spike on Railway's Edge Network coincided with a routine edge service upgrade and exhausted memory in an internal routing service that was already running at high utilization. New proxies could not initialize, failed health checks and were pulled by load balancers, causing 2-3 minutes of intermittent HTTP/TCP failures (404s, 522s) across all regions while private networking stayed unaffected. Recovery came as caching absorbed the load. Fixes include higher memory limits, tiered memory alerts and overload safeguards, with a memory-efficient rewrite and a multi-region architecture planned to isolate failures per region.

  • How OpenAI delivers low-latency voice AI at scale

    OpenAI hardMaster

    OpenAI rearchitected its WebRTC stack for ChatGPT voice and the Realtime API by splitting a stateless UDP relay from a stateful Go/Pion transceiver that owns ICE, DTLS and SRTP state. The design avoids one-public-port-per-session media termination, which fits poorly with Kubernetes and cloud load balancers. Server-generated ICE ufrags encode routing hints, so the relay can steer the first STUN packet to the owning transceiver without an external lookup. Relay flows are kept in memory with Redis as a backup, and Cloudflare geo-steered signaling plus a globally distributed relay fleet shorten the first hop and cut setup latency.

  • Better HTTP/1 connection reuse

    The Go Blog mediumAdept

    Go 1.27's net/http.Transport now asynchronously drains unread HTTP/1 response bodies, up to 50 ms or 256 KB, before closing them. Connections can then be reused instead of abandoned, which made a 100-request status-check loop about 5x faster (710 ms to 150 ms). Before this change, any unread bytes, even a trailing newline left by encoding/json.Decoder, forced a new TCP+TLS handshake costing several RTTs. The recommendation is to drop hand-rolled drain helpers, which are also unnecessary for HTTP/2, and simply close response bodies.

  • Enhancing Distributed System Load Shedding with TCP Congestion Control Algorithm

    Zalando Engineering mediumAdept

    Zalando's customer communication platform applies TCP-style AIMD (Additive Increase Multiplicative Decrease) congestion control at its ingestion point to shed load and prioritize critical messages. The Stream Consumer pulls events from Nakadi and watches RabbitMQ publish latency (P50) and publish errors as congestion signals. Each event type's throttle adjusts its consumption rate independently: higher-priority types increase faster and decrease less (e.g. +15/−20% for P1 vs +5/−60% for P3), so no central coordination is needed. After six months in production, order confirmations keep stable processing times while commercial messages absorb delays. RabbitMQ queues stay small, and backlog remains in Nakadi, where low-priority events can be discarded in an emergency.

The quest for software engineering knowledge.

Look:
Layout: