logoalt Hacker News

pg_durable: Microsoft open sources in-database durable execution

132 pointsby coffeemugtoday at 3:59 PM34 commentsview on HN

Comments

levkktoday at 4:15 PM

2026 is the year of the Postgres queue! (DBOS[0], pgQue[1]) It's awesome that the community is contributing this and giving us the option to use it.

As an ex-app engineer though, I kind of prefer my queue logic to be in code, in Git, but maybe with the right tooling, you can change my mind. :)

[0]: https://www.dbos.dev/

[1]: https://github.com/NikolayS/pgque

show 3 replies
jraedischtoday at 4:23 PM

If understanding correctly, Absurd (by the Pi LLM harness devs) minimizes the pure db approach as much as possible. I only just started getting into the topic myself, though.

https://github.com/earendil-works/absurd

kilobaudtoday at 4:19 PM

> When not to use it > … > The workflow mostly lives outside Postgres and spans many heterogeneous systems.

How is this project at all comparable to something like Temporal? Am I misunderstanding the limitation implied by this particular recommendation?

show 1 reply
faxmeyourcodetoday at 4:18 PM

This feels like the wrong solution to an age old problem solved by the DAG schedulers like Apache Airflow for a while now.

Why would I want to store my control flow in the database and not in code? It feels strange.

Not trying to dismiss the project, I'm just not getting it yet I think.

show 1 reply
joeltheliontoday at 5:27 PM

Isn't the database already one of the hardest piece of infras to scale? Why would you want to load it with additional long-running jobs?

show 2 replies
oa335today at 4:24 PM

Can anyone explain why I would want to use this over an orchestration tool that lives outside the DB? Read through the Readme and some of the examples, I still don't get it.

show 4 replies
TuringNYCtoday at 5:22 PM

I'm trapped on Azure at work and we're constantly waiting for Azure pg to catch up with modernity.

For example, you cant use this: https://www.paradedb.com/blog/hybrid-search-in-postgresql-th...

Also for example, you dont get ultra-wide high dimensionality vectors.

It is nice they are open sourcing pg_durable, but how about adopting table stakes I'd get with AWS?

show 1 reply
rastignacktoday at 5:07 PM

I hope it could be used in the future to export pg_dump formated exports to s3.

One would be able to trigger maintenance jobs via simple lambda functions whose duration is capped.

mikey_ptoday at 5:09 PM

Is this an open sourcing of something they use internally? My first thought on durable jobs was GHA aka Azure Devops.

show 1 reply
redmondusertoday at 5:18 PM

Seems like an interesting idea to add durability and resumability to lengthy cron jobs.

cpursleytoday at 4:21 PM

Looks pretty good but I wonder why they didn’t build it on pgmq? If you’re on elixir I maintain a DAG package around this (based on and compatible with pgflow.dev which is TS/Deno).

https://github.com/agoodway/pgflow

show 1 reply