Slack

🏄‍♀️ Surf’s Up! Preparing for Huge Waves of Traffic via Load Testing

Jun 20, 2019
🏄‍♀️ Surf’s Up! Preparing for Huge Waves of Traffic via Load Testing
SummaryAI, from the source post

This post details the strategy and implementation of load testing for Slack's Enterprise Key Management (EKM) service. It outlines 6 steps: identifying critical paths (chat.postMessage), gathering baseline metrics (simulating double peak customer load), creating consistent test environments (tool for spinning up identical orgs), consolidating load testing tools into a single Go-based service with a CLI, automating machine provisioning with a `slack loadtest --bootstrap` command, and tracking metrics (API error rates, EKM latency, database health). It also provides an example of testing the `chat.postMessage` API with the new tool and discusses the importance of onboarding and documentation to drive adoption of the load testing framework across engineering.

More from the Continuous Load Testing Infrastructure trail