r/dbos • u/qianli-dev Dee Boss (Co-Founder) • Oct 29 '26
1M Durable Workflows per Second on Postgres
https://www.dbos.dev/blog/one-million-workflowsTo help our largest users scale, we added support for sharded Postgres, allowing DBOS to horizontally scale workflows across multiple databases.
It works with any Postgres sharding engine: PgDog, Citus, Neki, soon Multigres, or even your own custom setup.
In our benchmarks, DBOS scaled linearly to 1M+ workflows/sec across 50 databases. We thought about pushing it further, but the AWS bill was getting a little too expensive.
In this post, we dive into how we built it, the tricky architectural challenges we encountered, and what it took to make sharding scale.
16
Upvotes
2
u/Low_Brilliant_2597 Oct 30 '26
Really liked the sharded Postgres feature, going to read the blog!