DEV Community

Discussion on: Backend App is Done, Published using single instance of VM, A Guide to Scale?

 
harryawk profile image
Harry Alvin Waidan Kefas

Also, what means "enough performance"? It is never "enough" just like that.

What i meant by "enough" was "tolerated by the users" without considering any unexpected exploitation of the backend (like exposed endpoints, exposed third-party apps, etc).

What if someone shares a link to your site on some of the social networks? Can your back-end serve several hundred thousand visitors daily on a single VM?

What if, we monitor the instance on the go and just increase the instance when the requests served exceeded the instance limit? Is this the best idea to minimize the cost of server rental?

Anyway, thanks for leaving your thoughts~