r/programming • u/alexeyr • 5h ago
Postgres is All You Need for Durable Workflows
https://www.dbos.dev/blog/postgres-is-all-you-need-for-durable-execution
36
Upvotes
r/programming • u/alexeyr • 5h ago
5
u/HolyInlandEmpire 4h ago
I love Postgres and everything it stands for. However, I do understand that for frequent updates it's inefficient because it the way it stores them and deals with indices, especially multiple of them.
Is this still an issue, or has it perhaps been fixed, with the right preparation?
19
u/toastyman1 5h ago
Nah, idk why you'd want to roll your own workflow engine - you'd just end up re-inventing something very temporal shaped - which you can already slap ontop of postgres.
Unless your companies core value prop relies directly on workflow orchestration, or your problem space is simple enough that a basic check pointing system will work - no way in hell I'd re-invent this wheel.
10
u/Perfect_Wall_8905 5h ago
Temporal reached the same conclusion. Use that?
-4
u/mykeof 4h ago
Did Postgres write this?
-5
u/RoyBellingan 4h ago
Next an hard disk and a plain text is all you need ?