Re:Show HN: DBOS TypeScript – Lightweight Durable Execution ...
by qianli_cs on Friday January 17, 2025 @12:47AM
(#42734463)
Yeah, DBOS Cloud automatically (horizontally) scales your apps. For self-hosting, you can spin up multiple instances and connect them to the same Postgres database. For fan-out patterns, you may leverage DBOS Queues. This works because DBOS uses Postgres for coordination, rate limiting, and concurrency control. For example, you can enqueue tasks that are processed by multiple instances; DBOS makes sure that each task is dequeued by one instance.
Docs for Queues and Parallelism: https://docs.dbos.dev/typescript/tutorials/queue-tutorial
I was originally looking at the docs to see if there was any information on multi-instance (horizontally scaled) apps. Is this supported? If so, how does that work?