DB

DBOS transact – Ultra-lightweight durable execution in Python

Hacker News

DBOS transact – Ultra-lightweight durable execution in Python

Hi HN - DBOS CEO here with the co-founders of DBOS, Peter (KraftyOne) and Qian (qianli_cs). The company started as a research project of Stanford and MIT, and Peter and Qian were advised by Mike Stonebreaker, the creator of Postgres, and Matei Zaharia, the creator of Spark. They believe so strongly in reliable, serverless compute that they started a company (with Mike) to bring it to the world! Today we want to share our brand new Python library providing ultra-lightweight durable execution. https://github.com/dbos-inc/dbos-transact-py Durable execution means your program is resilient to any failure. If it is ever interrupted or crashes, all your workflows will automatically resume from the last completed step. If you want to see durable execution in action, check out this demo app: https://demo-widget-store.cloud.dbos.dev/ Or if you’re like me and want to skip straight to the Python decorators in action, here’s the demo app’s backend – an online store with reliability and correctness in just 200 LOC: https://github.com/dbos-inc/dbos-demo-apps/blob/main/python/... Don't want to keep reading and just try it out: https://console.dbos.dev/launch No matter how many times you try to crash it, it always resumes from exactly where it left off! And yes, that button really does crash the app. Under the hood, this works by storing your program's execution state (which workflows are currently executing and which steps they've completed) in a Postgres database. So all you need to use it is a Postgres database to connect to—there's no need for a "workflow server." This approach is also incredibly fast, for example 25x faster than AWS Step Functions. Some more cool features include: * Scheduled jobs—run your workflows exactly-once per time interval, no more need for cron. * Exactly-once event processing—use workflows to process incoming events (for example, from a Kafka topic) exactly-once. No more need for complex code to avoid repeated processing * Observability—all workflows automatically emit OpenTelemetry traces. Docs: https://docs.dbos.dev/ Examples: https://docs.dbos.dev/examples We also have a webinar on Thursday where we will walk through the new library, you can sign up here: https://www.dbos.dev/webcast/dbos-transact-python We'd love to hear what you think! We’ll be in the comments for the rest of the day to answer any questions you may have.

Share card

Actual performance

89points
30comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: apps, new, code · Missing: mac, agents, macos
85%85% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
83%83% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
82%82% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
35%35% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: apps, way · Missing: mobile apps, ios, personal
30%30% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Th
ThreadJob lightweight asynchronous scheduling and execution40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

ThreadJob lightweight asynchronous scheduling and execution

Hacker News2
Re
Reactive Jupyter- reactive execution of Python in VSCode47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Reactive Jupyter- reactive execution of Python in VSCode

Hacker News8
Fu
Furnace – A lightweight pure-python container implementation47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Furnace – A lightweight pure-python container implementation

Hacker News6
Fu
Furnace – A Lightweight Pure-Python Container49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Furnace – A Lightweight Pure-Python Container

Hacker News3
Bi
Binder - a lightweight SQL mapper for Python64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Binder - a lightweight SQL mapper for Python

Hacker News1
ma
marshmallow - Python Object Serialization, Lightweight and Fluffy38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

marshmallow - Python Object Serialization, Lightweight and Fluffy

Hacker News2
Py
PyAirbyte – We built a lightweight Python library for ELT66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

PyAirbyte – We built a lightweight Python library for ELT

Hacker News18
Ta
Tawazi – A Python library for parallel execution of functions in DAGs82%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tawazi – A Python library for parallel execution of functions in DAGs

Hacker News4
Ta
Tassel, Ultra-Lightweight JavaScript Styling51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tassel, Ultra-Lightweight JavaScript Styling

Hacker News1
Se
Serverless Asynchronous Task Execution in Python47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Serverless Asynchronous Task Execution in Python

Hacker News4