Horizontal Scaling and Scheduled Tasks

I am trying to figure out an away for us to host our Wappler project. Since we have a large user base we are going to use multiple servers, each running the wappler project.

We do have many scheduled tasks. How can we ensure that the scheduled tasks don’t run multiple times throughout the server cluster, but only once?

The current best scaling option for Wappler apps is vertical not horizontal. So just use single server but increase power by adding more cpu cores and memory.

Wappler will auto scale by the number of cores and also you can run multiple docker instances.

As for your scheduled tasks you can run more industry standard solutions like bull queue to synchronize background tasks. There is a Wappler 3rd party extension for easy integration.