npm · solid-objects
Durable Objects on the SQL database you already run
Give each room, cart, or job its own state. Solid Objects runs its calls one at a time and stores the result in the SQL database you already use, so work can continue after a restart.
How this compares
Four ways to keep two requests from corrupting one record. This table does not rank the projects. It shows what each one asks you to operate, and where each one stops.
Delivery is ordered and at least once, so an external effect must be idempotent. Exactly once remains absent, despite its excellent branding. The full table, with a primary source for every row, is in docs/comparisons.md. External systems change. Check the primary source before you make an architecture decision.