AlgoViz

Deployment, persistent state and cost

hard 7 min

Long-running agents need durable state, scheduling and explicit ownership of effects.

Trace the example

Follow the evidence through each stage, then test a change in the case.

Resume a queued run after a worker disappears

Resume a queued run after a worker disappears. Selected component: Job lease inside Queue service.
Open full-size diagram

Queue service

run 73 delivered twice

Delivery can repeat if a worker loses its lease. Attach a run identity, deadline and step budget to the job.

A dashboard reports two deliveries. What distinguishes a harmless retry from a duplicate business action?