← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

Meta Introduces ZGateway for ZippyDB, Reducing Connections by 19x

🔄 Updated 3d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • ZGateway is a stateless proxy for Meta's ZippyDB.
  • It handles over 1 billion operations/second and 40% of ZippyDB traffic.
  • The architecture reduces total persistent connections by 19x.
  • ZGateway manages authentication, authorization, and request batching.

Addressing Connection Challenges

Meta introduced ZGateway to address connection and reliability issues within ZippyDB, its distributed key-value store. ZippyDB supports product metadata, counters, and configuration across Meta's global infrastructure. The previous direct access model, where clients connected directly to database hosts, led to a dense many-to-many connection mesh, causing potential file descriptor exhaustion and out-of-memory conditions due to over one million client hosts.

ZGateway Architecture and Functionality

ZGateway inserts a managed proxy tier between ZippyDB clients and servers. Clients maintain sticky connections to regional gateway hosts, which then connect to the database servers. This setup is estimated to reduce per-host connection counts by 97-98% and total persistent connections by roughly 19 times. ZGateway runs as regional tiers discovered via ServiceRouter, Meta’s service mesh solution, keeping clients geographically close to their gateway.

Traffic Management Capabilities

The new gateway layer centralizes shared traffic management. ZGateway can authenticate and authorize requests, apply per-tenant admission control, resolve shards, utilize local caching, and batch or coalesce requests before forwarding them to ZServer replicas. By observing traffic from multiple clients, it can combine requests that individual client libraries cannot.

Impact on Performance and Reliability

ZGateway currently handles over one billion operations per second and approximately 40% of ZippyDB traffic. This proxy pattern, also seen in connection poolers and service meshes, adds a shared traffic management layer to ZippyDB's existing capabilities, which include managed sharding, replication, failure detection, and capacity management.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~34 min · 27 stories · Oct 02

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Meta launched ZGateway, a stateless proxy layer for its ZippyDB distributed key-value store, to manage over one million client hosts and improve reliability. This new architecture reduces total persistent connections by approximately 19 times while handling over one billion operations per second.