← All posts

Engineering

Why we rebuilt the order queue as a durable job table

Submitting an order to a supplier inside the checkout request looked fine until a supplier had a bad afternoon. Here is what we replaced it with, and why leases beat retries-in-a-loop.

The short version

This post is part of the public engineering record for Tenza. The full write-up is maintained alongside the documentation, and the behaviour it describes is what the platform does today — if the two ever disagree, the documentation is authoritative and this post is out of date.

Why it mattered

Submitting an order to a supplier inside the checkout request looked fine until a supplier had a bad afternoon. Here is what we replaced it with, and why leases beat retries-in-a-loop. The change shipped in the release dated , and its effects are visible on the status page history from that date onward.

Related reading