Imagine you’re the analyst on call on a Saturday morning. An alert comes in, then another. By the time you open the first case, tens of thousands of events are pouring in and the case screen is completely blank. You reconnect to the VPN, try a different browser, and finally page incident response. The SOAR is down.

The culprit is a bad threat intel indicator. A provider flagged a benign app, and the SOC tried to investigate every single match. Eventually, the provider corrects the indicator and the alerts slow down. You’re still hours away from normal operation.

As a SOAR engineer, I spend a lot of time thinking about what happens after a case lands in my platform. This scenario raises a more interesting question: can we still contain a real compromise while the SOC is buried investigating a benign app? The answer comes down to what happens to work at every step between the original signal and the response action.

Loading interactive…

How Much Time Does a Queue Buy?

A queue lets work arrive now and run later. In a simple model, workers that each finish jobs per second give you a total processing capacity of jobs per second. If jobs arrive at rate , utilization is:

For the queue to stay stable over time, processing capacity has to beat the average arrival rate.

The problem is that averages can make a system look much healthier than it actually is. A false positive might take seconds to close; an endpoint compromise can tie up an analyst for an hour. Even at the exact same average utilization, a SOC hit with bursts of complex cases is going to have a much worse day than one seeing a steady stream of routine alerts.

Kingman's formula approximates the average wait time in a single-server queue under heavy traffic [1]:

Here, is the average service time, and and are the coefficients of variation for inter-arrival time and service time. The term I care about most is . As utilization creeps toward 100%, the exact same variability produces drastically longer waits.

Kingman's formula describes a single worker operating below capacity. For an outright flood, basic arithmetic gets us pretty far.

(Each dot in the interactive is a job, with a rose outline marking critical work. As you scroll, policies change and the existing queue carries over. Switch to Sandbox to test your own settings.)

Suppose your system processes 750 jobs per second, and that bad indicator generates 8,000 jobs per second for one minute. If the queue can hold all of them, you're left with 435,000 waiting jobs. Once arrivals drop back to a normal 500 per second, you only have 250 jobs per second of spare capacity to drain the backlog. That’s another 29 minutes just to catch up—assuming every worker stays healthy. With a smaller buffer, you’ve already dropped jobs.

Spare capacity costs money, whether you're paying for analysts, agents, or compute. What matters is how much headroom a team can realistically afford, and what it does with the capacity it already has. The first question I'd ask is: how many of those 435,000 jobs did we actually need to create?

How Many Cases Did We Actually Need?

If a webhook retries a hundred times, I want one investigation. If a hundred distinct findings describe activity on the same endpoint, I probably still want one investigation—not a hundred separate cases competing for workers.

Deduplication needs a stable event identity. Coalescence needs a sensible boundary—like an endpoint and a time window—along with a clean way to split the case if the findings turn out to be unrelated. A case with a hundred findings might still take longer to work, but at least you aren't paying the overhead of spinning up a hundred separate workflows.

You can make the same call upstream, before a finding ever becomes a case. Risk-based alerting collects weak signals against an entity until they cross a threshold worth investigating. Composite detections look for specific combinations, like a suspicious script followed by credential access. Both cut down downstream jobs, and both change what the SOC sees. Just make sure high-impact events can still alert on their own, and test what happens to your composite detections if one data source goes quiet.

Some work can also just wait until later in the shift. If a routine review has a four-hour SLA and containment needs to happen now, put the review somewhere durable to wait. Preserve the original timestamp so you know how much SLA is left, and monitor the age of the oldest deferred job right alongside queue depth. A small backlog is still a problem if it's been sitting untouched all afternoon.

You can also cap how much work a noisy source can submit, or filter known benign patterns at intake. Just be careful with broad exclusions like "development endpoints." Dev machines get compromised too, and the tags we rely on to identify them go stale. In the interactive example, the system caps bulk intake and holds the excess. In production, someone has to decide which evidence to keep, where to store it, and when it expires.

Rate limits are where things get messy. Say your SOAR caps a noisy connector, and the connector immediately retries every rejected request. Now you have a request flood on top of an alert flood. If the source can back off and buffer the excess, you're in good shape. If it can't, you've just moved the bottleneck.

Where Are the Workers Spending Their Time?

When I build a playbook, I reach for the SOAR's native operations before writing Python. On platforms that spin up a separate runtime for custom code, starting Python can cost more than the tiny transformation I needed it for. You won't notice that when testing a single case. Run it against every alert in a flood, and it becomes a major capacity bottleneck.

The same goes for repeatedly fetching the same endpoint inventory or re-parsing a payload at every step. Cache lookups when the data can safely be reused. Batch API requests if the upstream tool supports it and the workflow can wait. A good playbook gathers evidence, preps the case to save analyst clicks, and lets you apply one approved decision across many endpoints. What I want to measure is how long it takes to reach that decision and execute it. Reports and optional enrichment can wait; approvals that block containment stay on the critical path.

Before You Add Workers

I know of a SIEM that heavily marketed its scalability, but its transform step was single-threaded and couldn't be parallelized. If an expensive transform backs up that stage, throwing extra capacity at the rest of the pipeline does almost nothing. That's the kind of architectural detail you want to find out before you count on a platform to scale through an incident.

Before scaling out, figure out what your workers are actually waiting on. If they're spending most of their time waiting on API responses, async I/O can help overlap those waits. If they're all fighting over the same lock, database, or API quota, adding more workers just adds more contention.

Elastic scaling works well when tasks run independently and downstream systems can handle the extra load—though your queue still has to absorb incoming traffic while new capacity spins up. I like managed runtimes for short bursts of custom work, but even AWS Lambda has a scaling rate and a concurrency ceiling. With a managed SOAR, always ask which limits are dedicated to your tenant and which ones are shared.

Can We Still Contain an Incident?

So far, we've looked at floods caused by too much incoming work. A failing dependency can put you in the exact same spot by slowing down the work you already have. If an enrichment provider starts timing out, your worker pool can spend all its time waiting. You might have plenty of spare CPU and still be unable to kick off a containment job.

Give Containment Capacity of Its Own

A priority queue can move a containment job to the front of the line, but if every worker is already stuck waiting on a dead lookup, containment still has to wait for a worker to free up. And if critical work keeps arriving, strict priority can starve routine work indefinitely.

The interactive example reserves 25% of capacity strictly for critical jobs—bulk work can't borrow it, even when it's idle. In a real environment, you have to trace that reservation through the entire workflow. Two separate queues can still share one exhausted API quota, and two separate worker pools can still block on the same failing integration. If your critical path needs an isolated budget, worker pool, or response route, that's where the isolation has to live.

A circuit breaker can stop sending requests to a failing integration and periodically probe for recovery, freeing workers from sitting on timeouts. The harder part is deciding what the playbook should do next. Can it query the threat intel provider directly if the SOAR integration is down? Can we isolate a host through device management if the EDR integration is unavailable? Those fallback paths need to be tested before you ask an analyst to use them during an active incident.

Write down what the SOC can still execute with degraded tooling. Maybe you can collect essential evidence, escalate an active compromise, and run a narrow set of approved containment actions, while logging everything else for follow-up. Actually run a case in that degraded mode. It's the fastest way to discover the "optional" lookup that every playbook secretly blocks on.

What Happens When the Buffers Fill?

Eventually, you have to decide what the SOC can afford to lose. Make that call ahead of time with incident response, infrastructure, and whoever owns retention and business continuity. You might drop duplicate notifications while keeping the underlying events, or defer routine reviews while preserving their evidence and SLAs. If a workload is going to degrade, agree on the trigger and who owns recovery.

I prefer push delivery for normal operations paired with a pull path for recovery. A webhook can silently fail while the SOAR is down, and both systems will look completely healthy afterward. Reconcile what the source recorded against what actually made it into the SOAR. If the source supports it, pull from the last confirmed checkpoint and deduplicate before those events trigger repeat investigations or response actions.

Even with a durable buffer, if a producer keeps firing faster than you can drain it, that store will eventually fill too.

At that point, shedding load is how you keep the SOC operational. Drop duplicate notifications before you ever discard events that could explain an intrusion later. Whatever you drop, log how much, where it came from, and why. An on-call analyst needs to know whether a quiet queue means the system is keeping up—or throwing work away.

Leave Room for Replay

Go back to our Saturday morning flood. Once the bad indicator is fixed, the model gives us 250 jobs per second of spare capacity. If you replay deferred jobs faster than that, the live queue immediately starts backing up again. In practice, your replay rate also has to leave headroom for normal traffic spikes. Watch both the age of the backlog and the wait time for new cases while you drain it.

One pattern I like is teeing alerts to a separate store using a tool like Cribl, then feeding them back through existing playbooks at a controlled rate. Keep the original timestamps. And before replaying any response action, check whether it already ran and whether it still makes sense—a containment action that was urgent three hours ago might need a different call now.

Run the Saturday Incident on Purpose

Pick one action the SOC must be able to execute during a flood—like isolating a compromised endpoint. Trace it end-to-end, from the original signal through the SIEM and SOAR to the final response action. If your incident plan relies on people outside the SOC stepping in to help, have them actually work cases during the exercise.

Then run the drill: fire a burst of benign alerts, throttle an enrichment service so it's slow, and inject a test case that requires containment. Measure how long it takes to reach the analyst and whether they can actually execute the containment action. Once the burst clears, reconcile what arrived, what waited, and what vanished.

The single number I'd walk away with from that exercise is simple: how long did the compromised endpoint stay online while we were busy investigating a benign app?

The visuals for this post were inspired by Sam Rose.

References

[1] J. F. C. Kingman, “The single server queue in heavy traffic”, Mathematical Proceedings of the Cambridge Philosophical Society, vol. 57, no. 4, pp. 902-904, Oct 1961, doi: 10.1017/S0305004100036094.