I want to build a bot that works on Whatsapp from this Whatsapp Web Js repo.
I have read that running multiple instances of the app on one server can crash the server due to high CPU usage and is very difficult to scale for thousands of users. So I want for different instances of the app to run on separate servers but do not want to manually create the server instances.
I am thinking of running each app on a different server/container instance and don’t know the best route to take.
At the moment, I have deployed one version of the app on a Namecheap server and everything works fine for one user. Now, I have to manually create a new server instance and supply the server IP for a new user before the user can use the service and I have to monitor all the servers manually.
How can I possibly achieve a more efficient set up that can scale automatically?