---
title: "Continuous Load Testing"
description: "Slack moved to running its Koi Pond load-testing clients continuously, 24/7, against an organization 4x the size of its largest customer."
url: "https://swe.quest/articles/continuous-load-testing-cb6889189cd6bc8f"
canonical: "https://slack.engineering/continuous-load-testing/"
source: "Slack Engineering"
published: "2022-04-29"
difficulty: "medium"
kind: "Case study"
reading_minutes: 13
tags: ["testing","performance","resilience","kubernetes","deployment"]
---

# Continuous Load Testing

A post on [Slack Engineering](https://swe.quest/sources/slack.md), published 2022-04-29, 13 min read, Case study. Original: [https://slack.engineering/continuous-load-testing/](https://slack.engineering/continuous-load-testing/)

## Summary

Slack moved to running its Koi Pond load-testing clients continuously, 24/7, against an organization 4x the size of its largest customer. Performance regressions get caught on every deploy without the cost of spinning up test environments. Making this safe required an Automatic Shutdown service that polls Prometheus via Trickster and stops tests when thresholds are breached (e.g. API success below 95% for five minutes), partial shutdown and Emergency Stop controls, DynamoDB-backed persistence so the Keeper survives pod restarts, and automated token generation via cron, job queues, exponential-backoff retries and encrypted S3 storage. A gradual rollout from 5,000 to 500,000 clients with cross-team communication produced zero off-hours pages in six months, and an ad-hoc test that once took a day of effort now takes minutes.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)
- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)

## Prerequisites

- load testing basics ([easy posts on Testing](https://swe.quest/tags/testing.md?difficulty=easy))
- Kubernetes pods ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- Prometheus metrics ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))

## Keywords

Koi Pond, Prometheus, Trickster, DynamoDB, GovSlack, Kubernetes

## Related posts

- [Load Testing with Koi Pond](https://swe.quest/articles/load-testing-with-koi-pond-0d1865c57c75034d.md): Slack Engineering · 2021-04-23 · Medium · 14 min read · Testing, Performance engineering, Scaling, Real-time systems, Capacity planning
  Koi Pond is Slack's load-testing tool that boots lightweight simulated clients (koi), grouped into schools of up to 5,000, which open real websocket connections and call Web APIs.
- [Automating performance tests](https://swe.quest/articles/automating-performance-tests-3c422bee8eb7f6b1.md): Supabase · 2024-02-21 · Medium · 7 min read · Testing, Performance engineering, Observability, Infrastructure as code, CI/CD
  Supabase built its performance-testing pipeline while rewriting its WebSocket-based Realtime service, starting with manual k6 load generators on AWS VMs and adding Grafana/Prometheus to diagnose loader resource exhaustion.
- [Slowing Down to Speed Up – Circuit Breakers for Slack’s CI/CD](https://swe.quest/articles/slowing-down-to-speed-up-circuit-breakers-for-slack-s-ci-cd-9aadbea59ffc838e.md): Slack Engineering · 2022-08-19 · Medium · 16 min read · Resilience, CI/CD, Developer productivity, Observability
  Slack added orchestration-level circuit breakers to Checkpoint, its CI/CD orchestration service, to stop cascading failures between internal systems such as GitHub Enterprise, Jenkins, test environments, Flannel, Vitess and search.
- [Building an End to End load test automation system on top of Kubernetes](https://swe.quest/articles/building-an-end-to-end-load-test-automation-system-on-top-of-kubernetes-7beb3707dbd053ca.md): Zalando Engineering · 2021-03-01 · Medium · 9 min read · Testing, Performance engineering, Kubernetes, Payments & fintech, Capacity planning
  Zalando's payments team built an automated end-to-end load testing system in its Kubernetes test cluster.
- [Building On-call: Continually testing with smoke tests](https://swe.quest/articles/building-on-call-continually-testing-with-smoke-tests-7d1cd2c2e1ed63ef.md): incident.io · 2024-08-09 · Medium · 7 min read · Testing, SRE, CI/CD, Resilience
  incident.io runs an end-to-end smoke test suite for its On-call paging product every minute against production and staging, and also on every pull request and deploy using containers on a single machine.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
