News for hackers. Stuff that matters.

hmaxdml

Re:GitHub Is Down Again on Thursday August 20, 2026 @03:33PM (#49379087)
Despite the scope being advertised as Copilot Cloud Agent, merging PRs not using it is blocked.
Re:BYOC Is Not Just 'Deploy into Their Cloud' on Saturday August 08, 2026 @12:03PM (#49223064)
I thought that fell under BYOD (device) :)
Re:Making Postgres queues scale on Thursday July 30, 2026 @07:57PM (#49117403)
What's reasonable? DBOS has users running queues at millions of tasks per hour.

For fair queuing you can have partitioned queues where only active partitions consume resources

Re:Postgres LISTEN/NOTIFY actually scales on Friday July 24, 2026 @09:07PM (#49043518)
Not saying this in a mean way:

It seems to me this can be boiled down to "using things without understanding how they work doesn't scale". Yes, vanilla listen/notify doesn't scale. But the OP actually figured out how to make it scale. So your engineers don't have to.

As the community builds, over time, distributed systems, it also understands which brick can do what, and it turns out that starting with less bricks and adding some when you actually need them makes for healthier systems.

The database is exactly the hardcore piece of engineering that's been designed to scale and be fault tolerant for decades
Because you likely already have a database and likely don't need to bring on an entire new distributed system to orchestrate your workflows.
A PG-backed queue is in code right after being in PG, and the beauty of a neat durable queue framework is in exposing it conveniently and efficiently.
Re:Just Use Postgres for Durable Workflows on Tuesday June 02, 2026 @12:23PM (#48372376)
Postgres does scale pretty well: https://www.dbos.dev/blog/benchmarking-workflow-execution-sc...

Tens of thousands of workflows per second

Re:SQLite is all you need for durable workflows on Saturday May 30, 2026 @04:54PM (#48340534)
That's why their entire business model -- like Astronomer's -- is geared toward cloud hosting. The architecture is so complex it takes a full time team to run it.
Re:SQLite is all you need for durable workflows on Saturday May 30, 2026 @04:51PM (#48340494)
Have you looked into DBOS? Same thesis: durable and reliable workflows are hard to manage -- it just doesn't have to be as hard as Temporal makes it be :)
Re:Just Use Postgres for Durable Workflows on Friday May 29, 2026 @06:18PM (#48330045)
DBOS python supports SQLite. Go is supporting it next release
Re:Just Use Postgres for Durable Workflows on Thursday May 28, 2026 @07:03PM (#48316760)
Yeah, we've observed that too: people start implementing their own retry logic, idempotency, etc. But then they grow a hard to maintain, complex stack that's not their core business logic. There's a reason why there is a dedicated team building DBOS, every day. Because it's not that easy to build a solid durable workflows engine on Postgres.
Re:Just Use Postgres for Durable Workflows on Thursday May 28, 2026 @03:46PM (#48314392)
Listen/notify is poised to become much better in PG 18 and 19
Re:Just Use Postgres for Durable Workflows on Thursday May 28, 2026 @03:35PM (#48314288)
As you said, the example is simple and it might not be obvious to people without prod experience what the problems can be. Postgres can give you all the primitives you need to solve this at the application layer. Durable workflows on Postgres is an effective way to access these primitives.
Re:Agents need control flow, not more prompts on Thursday May 07, 2026 @03:54PM (#48054051)
We've found that durable workflows is a much needed primitive for agents control flow. They give a structure for deterministic replays, observability, and, of course, fault tolerance, that operators need to make the agent loop reliable.
Re:Go-Native Durable Execution on Tuesday March 03, 2026 @12:19PM (#47235584)
Automatic crash detection for your process is built-in our Conductor offering. The library has a default recovery mode when used standalone.

What do you find strange with workflow versioning? Would love to consider improving the semantics. In fact, we started doing it: https://github.com/dbos-inc/dbos-transact-py/pull/598

Re:Go-Native Durable Execution on Monday March 02, 2026 @09:26PM (#47227161)
I notice you didn't provide any specific comparison alongside that comment, which makes me feel frustrated because I think the Temporal workflow SDK is very different. Architecturally, Temporal and DBOS are at two opposites of the durable execution spectrum. I'd love to understand what makes you think this work is a mere copy and paste. Would you be willing to share some more with me?
Re:Go-Native Durable Execution on Monday March 02, 2026 @12:26PM (#47221040)
Thanks for the comment (author here). I wanted this post to focus on the Golang specific implementation, not dwell on the durable execution ecosystem at large.

With respect to context, I don't know that anyone invented "having their own context". Go interface are extendable and pretty much every major framework I know of implement their own context.

Would love to learn more about the gaps that offset you. We're constantly improving here ;)

Re:Go-Native Durable Execution on Monday March 02, 2026 @12:25PM (#47221023)
Conductor is about enterprise features like automatic workflow recovery, alerting, or RBAC. The GUI is a nice to have -- but all your workflow data are in Postgres. You can access it very easily.
Re:Designing a Passively Safe API on Saturday January 31, 2026 @12:00PM (#46838353)
Durable execution has already been mentioned as the existing solution for this problem, but I would like to call out a specific pattern that DE makes obsolete: the outbox pattern. Imagine just being able to do do

send a() send b()

And know both will be sent at least once, without having to introduce an outbox and re-architect your code to use a message relay. We can nitpick the details, but being able to "just write normal code" and get strong guarantees is, imo, real progress.

Re:Designing a Passively Safe API on Saturday January 31, 2026 @11:55AM (#46838309)
These are all important concerns, but I'd go for an off the shelf library that does it for me (disclaimer I work at https://github.com/dbos-inc)
Re:Building a Durable Execution Engine with SQLite on Friday November 21, 2025 @05:07PM (#46009559)
The hype is because DE is such an dev exp improvement over building your own queue. Good DE frameworks come with workflows, pub/sub, notifications, distributed queues with tons of flow control options, etc.
Re:Show HN: DBOS Java – Postgres-Backed Durable Workflows on Friday November 14, 2025 @03:51PM (#45932026)
one way is to follow https://www.linkedin.com/company/dbos-inc for updates
Good call. We'll see how to integrate it in our docs better.

The cost of DBOS durable execution is 1 write per step (checkpoint the outcome) and 2 additional writes per workflows (upsert the workflow status, checkpoint the outcome). The write size is the size of your workflows/steps output.

Postgres can support several thousands writes per seconds (influenced by the write size, ofc): DBOS can thus support several thousands of workflows/steps per second.

Postgres scales remarkably well. In fact, most org will never out scale a single, vertically scaled Postgres instance. There's a very good write up by Figma telling how they scaled Postgres horizontally: https://www.figma.com/blog/how-figmas-databases-team-lived-t...

DBOS stores all the workflow metadata in postgres, which is readily queryable for observability. We've recently seen a user setup an entire Grafana dashboard to observe their numerous workflows.

A postgres server can host many databases, and multiple applications can use the same server. The same dashboard can be used to monitor them all.

With respect to recovery: A new Transact process will run a round of recovery at startup. Transact also exposes an admin server with a recovery endpoint.

For more elaborate scenarios, we have control plane options commercially available.

Older »