Comment by qianli_cs

2 days ago

You'll need to click either the Python or TypeScript icon. We support both languages and will add more icons there.

Thanks the icons work!

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?

  • 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