Postmortem6 min read

Postmortem: the thundering-herd cache collapse

This is an illustrative, lab-style postmortem — a realistic live-streaming failure written up to teach the lesson. The pattern is the single most common way a live edge falls over.

Illustrative scenario. A teaching reconstruction, not a real incident. The failure mode — a thundering herd at the segment boundary — is entirely real for live streaming.

Setup

A popular channel is served unicast from an edge that pulls from a single origin. Every few seconds a new live segment is produced. Players are roughly synchronised — they all want the newest segment at nearly the same instant.

Timeline

Root cause

Not origin capacity in isolation — the failure was the absence of request coalescing. Nothing collapsed the flood of identical requests for one new segment into a single upstream fetch, so a predictable, synchronised demand turned into an origin-killing stampede. This is exactly why VOD CDN design fails for live.

The fixes

How HySky avoids it

HySky’s edge coalesces requests and sits behind an origin shield, and drives multicast for on-net STBs — so a synchronised segment boundary is absorbed at the edge instead of stampeding the origin.

Lessons

This is the kind of problem HySky is built around.

Talk to a team that runs a live operator, not just sells software.

WhatsApp us