All jobs / Backend developer / Architecture

Backend developer interview question · 0–1 years

Why would you put a queue between two parts of a system?

The strongest answer

To decouple them: the producer finishes fast and the consumer works at its own pace, spikes are absorbed, and a consumer being down does not lose the work — at the cost of the result arriving later

Why it works

Right. Decoupling and absorbing spikes, paid for in latency.

What a good answer covers

Answers that fall short

Who gets asked this

More Architecture questions