Idempotent Job Handlers

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

Your queue promises at-least-once delivery, and a few customers were charged twice when a worker crashed after charging but before marking the job done. Explain why this happens and how to make job handlers safe to run twice.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →