News for hackers. Stuff that matters.
Re:Show HN: DBOS TypeScript – Lightweight Durable Execution ... by qianli_cs on Thursday January 16, 2025 @01:11PM (#42728751)
You'll need to click either the Python or TypeScript icon. We support both languages and will add more icons there.
Re:Show HN: DBOS TypeScript – Lightweight Durable Execution ... by gbuk2013 on Thursday January 16, 2025 @11:28PM (#42734091)
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?

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