connection registry
A short-lived key-value map from each user to the gateway currently holding their connection.
In more detail
When a gateway dies the registry briefly points to an address that no longer answers. Entries must expire on their own and be re-registered by clients, and delivery must fall back to the inbox.
Related terms
- connection gateway — A server that holds long-lived client connections and relays messages to and from them, storing nothing durable.
- key-value store — A database that stores each item under a unique key and fetches it by that key, very quickly and at large scale.
- TTL — How long a stored item, such as a session, token or cache entry, stays valid before it expires.
Taught in
- The Storage Decision: Key Value, Search And Blob — Scalable System Design & Distributed Architecture
- Worked Design Two: A Global Chat System — Scalable System Design & Distributed Architecture
- Worked Design Two: Scaling Chat Fan Out — Scalable System Design & Distributed Architecture