Idempotency key for a tool call

  • Fix
  • Agent 17

Difficulty 3 of 5

An agent sends support replies through a tool runner. From 0:30 the email service slows down, and some customers get the same reply twice. Send each reply once, lose none, and finish by 2:00. The tool runner and email service are fixed. You may make 4 edits.

0:42. Customers report two copies of one reply. Email sends rise to twice the reply rate.

Play level

AMQPHTTP/2Users2 req/sAPI server1 vCPU · 1 GBMessage bro…1 vCPU · 1 GBEmail servi…1 vCPU · 1 GB
HTTP/2AMQPHTTP/2Users2 req/sAPI server1 vCPU · 1 GBMessage br…1 vCPU · 1 GBEmail serv…1 vCPU · 1 GB
The board at the start of the level
Delivered twice, charged onceTap to turn the ID check on or off

13 deliveries · 10 payments applied · 0 charged twice

Goals and limits

Duplicates
none
Lost writes
none
Completion time
under 120 s
Monthly cost
under 30 USD/mo
Parts you can add
Worker, API server, Redis cache
Part limit
2
Edit limit
4
Traffic
2 req/s

Concepts

How players did

Player results load from the server.