Running Durable Workflows in Postgres using DBOS
DBOS is a durable workflow engine that leverages the features of Postgres to store state in a lightweight and fast manner. It offers a unique approach to workflows by storing state in the user's own Postgres database, allowing for deterministic execution and exactly-once execution. DBOS provides several benefits over other workflow engines, including performance, idempotency, and the use of familiar Postgres tooling. The engine uses decorators to add logic to functions, allowing users to create workflows with a "save point" feature that can resume from the last checkpoint if a function fails. This design aligns with Supabase's philosophy of "just using Postgres", making it an attractive option for developers looking to build robust and efficient workflows.
Company
Supabase
Date published
Dec. 10, 2024
Author(s)
Paul Copplestone
Word count
885
Language
English
Hacker News points
None found.