3 ms·
The reality is you can't. Dealing with more traffic than you expected is a good problem to have. You can lay down the ground work by using something like AWS (A
by DigitalSea 11y ago
The reality is you can't. Dealing with more traffic than you expected is a good problem to have. You can lay down the ground work by using something like AWS (Amazon Web Services) and using auto scaling to increase resources when load increases. At the same time, premature optimisation can be a costly mistake. If you prematurely assume your app is going to be more popular than it is, you could end up with a massive hosting bill because you spun up 200 large Amazon instances and only get 100 users.
My advice would be to read this link: https://www.airpair.com/aws/posts/building-a-scalable-web-app-on-amazon-web-services-p1 https://www.airpair.com/aws/posts/building-a-scalable-web-ap... - it details building a scalable web application and I know of one startup I worked with who found it useful.
- oingo 11y agoWow .That link looks amazing, thank you!