part 09 · Production Query Engine

29 · Concurrency & Thread Pools

Segments can be searched in parallel, but unbounded concurrency buys queueing, not throughput.

How many workers is the right number? Answered by Bounded pool, bounded queue, timeouts, backpressure.

In this lab: Run a request stream through a simulated pool and watch p99 react to every knob.

loading mind map…
building the index…