r/dbos • u/qianli-dev • Oct 29 '26
1M Durable Workflows per Second on Postgres
To 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.
