All jobs / Backend developer / Distributed Systems

Backend developer interview question · 3–5 years

The interviewer asks: “Consumers are slow. The publisher is fast. What do you do?” Strongest answer?

The strongest answer

Apply backpressure: bound the queue, slow or reject producers, scale consumers, drop or shed load with a policy. Unbounded in-memory buffers turn a slow consumer into an OOM.

Why it works

Exactly. Backpressure is how healthy systems refuse work. A bound plus a 429/503 or a load-shed policy is explicit; an unbounded list is an accident.

What a good answer covers

Answers that fall short

Who gets asked this

More Distributed Systems questions