---
title: "Thundering herd of circuit breakers"
description: "A client's circuit breaker stayed open for hours because its half-open probes hit a service that the HPA had scaled down to three pods."
url: "https://swe.quest/articles/thundering-herd-of-circuit-breakers-b2ab1d42eebffb68"
canonical: "https://engineering.zalando.com/posts/2026/10/thundering-herd-of-circuit-breakers.html"
source: "Zalando Engineering"
published: "2026-10-07"
difficulty: "medium"
kind: "Incident"
reading_minutes: 9
tags: ["resilience","incident-response","observability","kubernetes","capacity-planning"]
---

# Thundering herd of circuit breakers

A post on [Zalando Engineering](https://swe.quest/sources/zalando.md), published 2026-10-07, 9 min read, Incident. Original: [https://engineering.zalando.com/posts/2026/10/thundering-herd-of-circuit-breakers.html](https://engineering.zalando.com/posts/2026/10/thundering-herd-of-circuit-breakers.html)

## Summary

A client's circuit breaker stayed open for hours because its half-open probes hit a service that the HPA had scaled down to three pods. The sparse probes succeeded, the breaker closed, and the withheld traffic arrived at once, queued for over 100 ms per request, timed out and re-opened the breaker. Each cycle lasted only about three seconds, too short for CPU-averaged autoscaling to notice. Zalando found the cycle by exporting OpenTelemetry traces as CSV into a bespoke uPlot visualizer that plots hundreds of traces at once. Suggested fixes are autoscaling on queue depth or concurrency, longer or heavier half-open probes, pre-scaling before the breaker closes, load shedding, and propagating cancellations.

Written by swe.quest, not by the author.

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

## Topics

- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)
- [Incidents & postmortems](https://swe.quest/tags/incident-response.md) (Reliability & operations)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Capacity planning](https://swe.quest/tags/capacity-planning.md) (Reliability & operations)

## Prerequisites

- circuit breaker pattern ([easy posts on Resilience](https://swe.quest/tags/resilience.md?difficulty=easy))
- Kubernetes HPA autoscaling ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- distributed tracing ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))

## Keywords

circuit breaker, Horizontal Pod Autoscaler, OpenTelemetry, Dash0, uPlot, thundering herd

## Related posts

- [How one quadratic webhook handler pinned our autoscaler at its ceiling](https://swe.quest/articles/how-one-quadratic-webhook-handler-pinned-our-autoscaler-at-its-ceiling-edd41e1673be3d81.md): Sentry · 2026-11-25 · Medium · 10 min read · Capacity planning, Kubernetes, Performance engineering, Incidents & postmortems, Debugging
  Sentry's Control RPC deployment sat pinned at its 256-pod autoscaler ceiling (normally ~32) because three GitLab integration bugs combined.
- [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.
- [A Recap on May/June Stability](https://swe.quest/articles/a-recap-on-may-june-stability-4b12711289993df6.md): Neon · 2025-07-16 · Medium · 6 min read · Incidents & postmortems, Scaling, Kubernetes, PostgreSQL, Serverless
  Neon's May and June 2025 incidents were caused by a load surge from agentic AI platforms.
- [Not just another network latency issue: How we unraveled a series of hidden bottlenecks](https://swe.quest/articles/not-just-another-network-latency-issue-how-we-unraveled-a-series-of-hidden-cc3a7d83431d9610.md): Datadog Engineering · 2023-05-26 · Medium · 8 min read · Networking, Debugging, Performance engineering, Cloud platforms, Kubernetes
  Recurring high-startup-latency pages on every deployment of Datadog's usage estimation \`counter\` service traced back to four stacked bottlenecks rather than one.
- [Continuous Load Testing](https://swe.quest/articles/continuous-load-testing-cb6889189cd6bc8f.md): Slack Engineering · 2022-04-29 · Medium · 13 min read · Testing, Performance engineering, Resilience, Kubernetes, Deployment
  Slack moved to running its Koi Pond load-testing clients continuously, 24/7, against an organization 4x the size of its largest customer.

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)
