The lock with a token

  • Build
  • Quorum 22

Difficulty 3 of 5

Connect both job runners. Archive jobs: 100 due at 1 s, each takes 10 s. Check jobs: 20 due at 4 s, each takes 1 s. Runner A loses lease contact from 2 to 14 s; its sent work can still finish. Meet both deadlines with no repeated or stale-token effects.

Play level

Users0 req/sCron schedu…1 vCPU · 1 GBCron schedu…1 vCPU · 1 GBWorker2 vCPU · 4 GB
Users0 req/sCron schedu…1 vCPU · 1 GBCron schedu…1 vCPU · 1 GBWorker2 vCPU · 4 GB
The board at the start of the level
A lease with a fencing tokenTap to turn the fencing tokens on or off

Fencing tokens · lease 30 s · late write with token 33: rejected

Goals and limits

Duplicates
none
Split-brain writes
none
Lost writes
none
Completion time (Archive)
under 18 s
Completion time (Checks)
under 8 s
Monthly cost
under 60 USD/mo

Concepts

How players did

Player results load from the server.