A look at how Slack works. Slack runs tens of millions of concurrent workspaces on a stack that started as a single PHP/Hack service and evolved into one of the cleanest sharded-by-workspace architectures on the internet. The non-obvious bet they made early: treat the workspace as the atomic unit of state. Every connection, every channel,… Continue reading