Comment by qianli_cs

Comment by qianli_cs a day ago

0 replies

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