All jobs / Backend developer

Backend developer interview question · 3–5 years

Your queue delivers at least once. What does that force on every consumer?

The strongest answer

Idempotency: each message carries a key and the consumer records what it has processed, so a redelivery after a crash or a slow ack is a no-op; you design the side effects to tolerate repeats rather than hoping for exactly-once

Why it works

Right. Repeats are certain; make them harmless.

What a good answer covers

Answers that fall short

Who gets asked this

More Backend developer questions