Catalogue / slack-2023-real-time-messaging

Slack routes real-time messages through consistent-hashed Channel Servers and multi-region Gateway Servers

Slack, 2023. Real-time messaging service.

Organisation
Slack
Evidence
Reported from production
Source
Real-time Messaging

Slack Engineering, published 2023-04-11

Records

Decision#d1

Place channels on stateful Channel Servers by consistent hashing, spreading each team across all of them

Decision#d2

Deploy Gateway Servers in several regions so clients connect nearby, with draining to move users off a failed region

Decision#d3

Send transient events such as typing indicators through the same servers without saving them

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free.