Scaling a web server

Now, let's talk about how you could go about to scale your web application.

After you watch this video, please also read this article: How to scale a web application to handle an infinite amount of traffic.

Next Step

Before clicking on 'Next', let's make sure we turn this into an 'active' mode of learning rather than 'passive' mode of learning.

Please in the comment section, answer the following two questions:

1) What is the rule of thumb you should remember when tackling any scalability issues?

2) What is a role of a load balancer and why is it used?

It's important again that you verbalize what you've learned so that it can become more internal. Just watching videos or reading articles will get you to retain only about 20-30% of the knowledge. Write thoughtful answers to these two questions. above, and you'll retain significantly more than just 20-30% of what was covered here.

Please leave a thoughtful response to the two questions posed earlier.

Submitted answers • 3

Top Answers

  • 1) Find bottleneck. 1 server at $20/month should be enough for 1 million visitors. Try to optimize for 1 server first. 2) To direct users to which of the multiple database servers to use.Posted 352 days ago

    • 1- Find the bottleneck and optimize the system by solving it before increasing the resources. 2- Distributing a set of tasks to set of resources and it's used to direct each request to appropriate server.Posted 218 days ago

      • 1) Find the bottleneck in your design. Optimize one server before adding more CPU and RAM 2) When you scale your dB or servers to have multiple handling requests and responses, load balancers can help coordinate between these different replicas at a specific level to make sure they are being used most efficientlyPosted 40 days ago