~/talk

Building Koi Pond: Simulating Millions of Slack Clients

Talkat Craft Conference 2021 · 2021-06-02..06-04· [web-performance]
slides:none on file

Builds a lightweight Go client fleet called koi pond that replaces headless‑Chrome puppets and simulates real websocket connections to exercise Slack's RTM fan‑out; it runs behaviors and formations (frequency‑driven API calls plus coordinated thundering‑herd scenarios), finds real bugs, forces changes to gateway and channel servers and new rate limits, and uses Grafana/Prometheus for KPIs. Cost falls from $0.37 to under a tenth of a cent per client per day and tests hit 1.7M simulated users, later scaling to 2M.

AI-written summary · about

  1. 0:00Start
  2. 5:36High-level overview of Slack's architecture
  3. 8:15Surface area tested via API Blaster
  4. 9:10Posting a message to Slack
  5. 10:42Message propagation mechanism
  6. 12:31Puppet Show within Slack's architecture
  7. 23:33Formations (cont.)
  8. 28:40Were we successful?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.