frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

pg_durable: Microsoft open sources in-database durable execution

https://github.com/microsoft/pg_durable
40•coffeemug•35m ago

Comments

levkk•19m ago
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

faxmeyourcode•17m ago
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.

kilobaud•16m ago
> 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?

faxmeyourcode•13m ago
I aggree - I'm not understanding the value of the project either if you look at the example here https://github.com/microsoft/pg_durable/blob/main/examples/i...

It's an interesting technical achievement I guess, but it's very bizarre to try and read this

    SELECT df.start(
        @> (
            ($$SELECT ... FROM demo.invoices WHERE status = 'pending'$$ |=> 'inv')
            ~> df.if_rows('inv',
                $$UPDATE ... SET status = 'processing'$$
                ~> (df.http(...) |=> 'resp')
                ~> df.if($$SELECT $r.ok$$,
                    -- classify, branch, wait for signal ...
                ),
                df.sleep(5)
            )
        ),
        'invoice-approval-pipeline'
    );
cpursley•14m ago
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

affandar•8m ago
(pg_durable committer here)

The provider is an extensibility point. We just shipped the simplest version of it. Happy to take contribs if someone sends a pgmq based provider!

jraedisch•12m ago
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

oa335•11m ago
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.
jpalomaki•5m ago
It’s sometimes convenient if database is the only ”stateful” component in architecture.

Also if all the "state" is in one database, then you have better chance of getting consistent backups.

thibaut_barrere•4m ago
You can have well-integrated applicative workflows (eg: progress report on a permalink in your front end app), app-restart-proof resumable workflows, and it avoids adding an extra piece of infrastructure.

We use Postgres for that on https://transport.data.gouv.fr (Elixir app which does a fair bit of processing), and it helps.

Not familiar yet with pg_durable though, but I have used or implemented similar solutions and can relate.

Show HN: Amanuensis – a local-first AI persona that won't fabricate facts

https://github.com/msalsas/amanuensis
1•msalsas•1m ago•0 comments

The company I work for is losing all of its humanity, I don't know where to go

https://superlemon.bearblog.dev/the-company-i-work-for-is-losing-all-of-its-humanity-but-i-dont-k...
1•speckx•3m ago•0 comments

Don't Dethrone Consciousness

https://www.theintrinsicperspective.com/p/dont-dethrone-consciousness
1•jbotz•4m ago•0 comments

Bullets don't shoot people. So why do cars 'kill' cyclists?

https://roadragers.netlify.app/
1•raybb•5m ago•0 comments

Ask HN: How do you stay up to date without information overload?

1•bohdanstefaniuk•6m ago•0 comments

LLM Serving and the Bus That Never Stops

https://joker666.github.io/blog/2026-06-02-llm-serving-in-flight-batching
1•joker666•8m ago•0 comments

Designing with Mustard

https://annaecook.com/writing/2026/designing-with-mustard
1•speckx•11m ago•0 comments

'Buy Canadian' in defence software is hollow without teeth

https://vantechjournal.com/p/buy-canadian-in-defence-software-is-hollow-without-teeth
1•ClearwayLaw•13m ago•1 comments

Android development is now Compose First

https://skip.dev/blog/compose-first/
1•marcprux•13m ago•0 comments

For Renovation Contractors and DIYers

https://renosheets.com/
1•LGMTL•15m ago•1 comments

Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency

https://blog.google/innovation-and-ai/technology/developers-tools/quantization-aware-training-gem...
2•theanonymousone•16m ago•0 comments

Show HN: Solectio – design, compare and share rooftop solar configurations

https://solectio.ottimai.com/
1•leomos•18m ago•0 comments

Let's celebrate work that is 100% human-made

https://www.human-made.work/
1•supryan•18m ago•0 comments

The Self-Tracking Trap: When More Health Data Creates More Anxiety

https://www.businessinsider.com/wellness-tracking-apps-sleep-score-stress-hurting-health-2026-6
1•sahar_builds•19m ago•0 comments

Mapped all 10 types against weaknesses in Pokémon TCG Pocket (interactive grid)

https://pocketcards.net/matchups
1•bat0x01•19m ago•0 comments

Y Combinator's CEO says he ships 37,000 lines of AI code per day

https://www.fastcompany.com/91520702/y-combinator-garry-tan-agentic-ai-social-media
3•claudiacsf•19m ago•1 comments

Ask HN: Are orbital data centers possible / a good idea?

2•aronowb14•22m ago•3 comments

Jolt: Clojure Interpreter on Janet

https://github.com/yogthos/jolt/
11•veqq•26m ago•0 comments

Show HN: A Simplistic UI for Rich Hickey's Design in Practice

https://github.com/bmillare/design_in_practice_ui
2•bmillare•26m ago•1 comments

Show HN: DSA Trainer, LeetCode practice with a hint ladder instead of spoilers

https://dsatrainer.com/
1•dsatrainer•26m ago•0 comments

U.S. Military Turned GPS into a Global "Numbers Station"

https://www.404media.co/the-u-s-military-quietly-turned-gps-into-a-global-numbers-station-evidenc...
13•awkwardpotato•29m ago•0 comments

Vibe Justice System – AI Courts convened in pursuit of correctness

https://github.com/wlilley93/vibe-justice-system
2•wlilley93•29m ago•0 comments

Alien hunters update guidance on sharing news of possible intelligent life

https://www.theguardian.com/science/2026/jun/05/alien-hunters-seti-guidance-signals-intelligent-life
3•root-parent•29m ago•0 comments

10k Lines Later: When a Tool Became a Compiler [video]

https://www.youtube.com/watch?v=wVQLEAHrwrI
4•robspairpears•29m ago•0 comments

Suppression of the integrated stress response extends lifespan in the fly

https://www.pnas.org/doi/10.1073/pnas.2518812123
2•PaulHoule•31m ago•0 comments

Software Engineering is the new Manufacturing Engineering

https://halecraft.org/software-engineering-is-the-new-manufacturing-engineering/
4•canadaduane•32m ago•0 comments

Building Xbox Games with Godot: A New Sample to Get You Started Faster

https://developer.microsoft.com/en-us/games/articles/2026/06/building-xbox-games-with-godot/
3•HelloUsername•33m ago•0 comments

AI must foster 'maternal instincts' or we risk extinction, warns Geoffrey Hinton

https://www.cbc.ca/radio/ideas/geoffrey-hinton-maternal-instincts-9.7094116
5•geox•33m ago•1 comments

U.S. attorney says election fraud probes are underway in California

https://ktla.com/news/local-news/u-s-attorney-says-election-fraud-probes-are-underway-in-california/
3•Bender•34m ago•2 comments

A healthier gut may be key to cancer care

https://www.cnn.com/2026/06/05/health/gut-microbiome-immunity-cancer-ghrc
4•Bender•35m ago•0 comments