Queues and messaging

Exponential backoff

Retrying while waiting twice as long each time: 1, 2, 4, 8 seconds. That way retries don't all arrive together.

Example

A payment fails: it's retried after 1 second, then 2, 4 and 8. If 1,000 clients retry, they don't all hit in the same second.

Lessons that use it

More queues and messaging terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.