Hi! I’d like to get your advice on the best way to horizontally scale the backend of a Wasp application — including both the Express server and PgBoss jobs.
For example, one option could be to use a Cloudflare load balancer with multiple instances running on a VPS provider like Hetzner, and then modify wasp.main so that only one instance initializes the PgBoss jobs (at least until there’s support for running them in an isolated instance).
What do you think about this approach? Do you see any potential issues with it? And are there any recommended approaches or official guidelines from the Wasp team regarding this?
Thanks!