Amazon Interview Question

How would you scale a web application with millions of users

Interview Answers

Anonymous

Mar 1, 2017

Vertical scaling can essentially resize your server with no change to your code. It is the ability to increase the capacity of existing hardware or software by adding resources. Vertical scaling is limited by the fact that you can only get as big as the size of the server. Horizontal scaling affords the ability to scale wider to deal with traffic. It is the ability to connect multiple hardware or software entities, such as servers, so that they work as a single logical unit. This kind of scale cannot be implemented at a moment’s notice.

5

Anonymous

Feb 16, 2017

Scaling is generally two ways - Vertically and Horizontally. Vertical scaling refers to application enhancements such as caching, using CDNs, Using partial pages/components and only update whats required on the page, High Availability Back-end APIs, Fast response, etc... Horizontal scaling refers to adding more hardware, geo-distributed DC, routing requests to nearest DC based on geo

2