Background jobs and retries

What property prevents a duplicate notification?

Examples

Worked example

Input
Email notification job is delivered twice.
Expected output
Idempotent handling.

Hints and solution

Hint 1

Write down the starting state and walk through one example by hand.

Reveal worked answer

The worker uses a stable job identity to check whether this notification was already sent.

Back to the lesson