# Replit — Killing Containers at Scale

- Company: Replit (replit.com)
- Announced: 2021-02-01
- Category: not stated
- Coverage: not counted
- Announcement: no
- Group: routine
- Source: https://replit.com/blog/killing-containers-at-scale
- Record: https://forck.live/items/18055-killing-containers-at-scale
- Subject: Replit Agent

Replit engineers investigated and fixed slow container shutdowns on preemptible VMs, reducing the session connection error rate from 3% to under 0.5% and the 99th percentile session boot time from 2 minutes to 15 seconds. The root cause was that Docker kill operations took 20+ seconds when killing 100–200 containers simultaneously, far longer than the expected milliseconds.

## Evidence

Verbatim from https://replit.com/blog/killing-containers-at-scale:

> Our session connection error rate dropped from 3% to under 0.5% and our 99th percentile session boot time dropped from 2 minutes to 15 seconds.

---

Record: https://forck.live/items/18055-killing-containers-at-scale
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
