Synthesis: How the Pieces Pay for Each Other
— Flannel didn't shrink the payload, it moved who pays for it
The boot payload was O(workspace) and no amount of compression changes an exponent. Flannel replaced "send everything" with "send nothing, answer questions fast," turning connect cost into O(working set). And it could only do that safely because it consumes the Gateway and Channel Servers part’s event stream — the cache is a subscriber, so invalidation and delivery are the same message. The payoff isn't the 44× number; it's that N simultaneous reconnects went from O(N²) to O(N). The storm didn't get damped, it stopped existing.
— The same answer, given twice: the screen is the subscription
Fan-out and presence look like different problems and have one fix. Presence stopped broadcasting to everyone and started pushing only what presence_sub named — which the client derives from the faces currently rendered. Fan-out stopped pushing to every member and started pushing only where a Gateway Server holds a live subscription. The Events API did the same to bots. In all three, cost stopped scaling with the size of the workspace and started scaling with what a human is actually looking at — which is constant, forever, no matter how big the company grows.
— Isolation and connection are the same axis, measured from opposite ends
Everything good about workspace sharding — single-shard joins, one-customer blast radius, trivial GDPR deletion, easy data residency — is the same property as everything bad about it: nothing crosses the boundary. You cannot keep the first set and drop the second, because they are one fact stated twice. Vitess's real contribution wasn't capacity; it was letting the shard key become channel ID — moving from "who owns this data" to "what is this data about," which is the only model where a channel with two owners is representable instead of simulated.
— The 500 ms budget is met by relocating work, and relocation has a bill
The send path is thin because unfurls, pushes, indexing, and subscription bookkeeping were all moved into the job queue. That is correct engineering, and it moved the fan-out into the one tier with no latency SLO and no human watching. The outage in the async work part is precisely that bill: a rare bulk operation fanned out per-user-per-channel-per-thread, overwhelmed one shard, and the healing automation turned a spike into a loop. Deferring work doesn't reduce it — it removes the feedback signal that would have told you it was too much.
— A load-bearing assumption breaks everywhere it was quietly used
Search never chose to be workspace-scoped; it inherited the shard model, and got a bounded corpus, a free first filter, and per-customer deletion for nothing. Then shared channels broke the workspace sharding part’s assumption — and search broke too, without having made any decision of its own. This is the real cost of an architectural assumption: it is adopted for free by every system built afterward, and when it fails, the blast radius is every one of them at once. The three years in the cross-shard wall part weren't spent on Vitess; they were spent on everything that had been built on top of the thing Vitess replaced.
The whole guide in one line
Slack's architecture is a lossy fast path (sockets, caches, presence) in front of a durable slow one (MySQL, job queues), with a hard tenant boundary drawn around both. The fast path was fixed by shrinking every cost function down to what a human can see. The slow path was fixed by admitting the tenant boundary was in the wrong place — which cost three years, because it had been right for a decade.