TLDR Web Dev · ARTICLES & TUTORIALS

RUNNING DURABLE WORKFLOWS IN POSTGRES USING DBOS

supabase.com6 min read

Summary from the TLDR Web Dev newsletter

DBOS, a durable workflow engine built on Postgres, uses Postgres' features to store workflow state, providing "save points" that enable recovery from crashes. DBOS functions, written in Python or TypeScript, use decorators to manage workflow steps, storing each step's state and output in the Postgres database for deterministic execution.