Back to home

    Thundering Herd Elimination

    Stop the Thundering Herd. Scale-Ups Shouldn't Take Down Storage.

    A CVE patch or a burst scale-up should not saturate your network.

    The stakes

    Autoscaling is the whole promise of running inference on Kubernetes: demand spikes, the fleet grows, nobody pages anyone at 2am. But scale-out is also exactly when infrastructure tends to break, because the event that should prove your architecture works is the same event that hammers it hardest. Get this right and a traffic spike is a non-event. Get it wrong and the scale-out itself becomes the incident.

    The bottleneck

    Here's the specific mechanism: KServe's storage initializer runs per pod, so when two hundred new replicas come up at once, each one independently pulls the same multi-gigabyte model from the same origin store at the same moment. That's a thundering herd against S3, GCS, or the Hugging Face Hub, and it shows up as throttling, timeouts, and pods stuck in an init container instead of serving traffic. Something like llm-d's KV-cache aware routing is genuinely useful once replicas are warm and serving, but it doesn't touch how those replicas got their weights in the first place. The herd forms before routing ever gets a say.

    The fix

    Spegel Enterprise Edition (SEE) changes who each replica asks. The first replica in a scale-out event still pulls from origin, but every replica after that resolves from a peer that already has the weights, turning a herd into a relay. Scale-out time stops being a function of replica count and starts being close to flat, whether you're adding five pods or five hundred. Autoscale like you mean it.

    What you get

    Peer-first weight resolution

    Only the first replica in a scale-out event pulls from origin, every replica after resolves from a peer.

    Works underneath existing serving stacks

    Sits below KServe InferenceServices, or any storage-initializer-driven pod, without changing how they're defined.

    Stateless cache, no extra infrastructure

    No dedicated cache tier to size, patch, or fail over, the fleet is the cache.

    Observable in real time

    Pairs with tools like Grafana Cloud Infrastructure Observability to watch origin load flatten during a live scale-out event.

    Predictable scale-out time

    Replica count stops being the variable that decides how long a rollout takes.