Slack's Real-Time Backbone: Flannel and the Websocket Fleet
How Slack built the Flannel edge cache and a websocket gateway tier to hydrate huge workspaces instantly without hammering primary databases.
Tag
5 articles
How Slack built the Flannel edge cache and a websocket gateway tier to hydrate huge workspaces instantly without hammering primary databases.
How Discord's voice chat scales using selective forwarding units, UDP-based media transport, and globally distributed voice servers close to users.
How Twitter built Earlybird, a Lucene-based inverted index engineered to make freshly posted tweets searchable within seconds of being sent.
How Discord keeps online status and per-channel read state consistent across millions of simultaneously connected clients without collapsing under fan-out.
How the Erlang VM's lightweight process model and fault isolation made Elixir the right fit for Discord's connection-heavy real-time gateway.