Scaling Web Services

Chapter 19, “Application Scalability,” examines in detail ways to scale cloud-based applications. Depending on its program demands, a web service may become a potential system bottleneck. An easy first solution is to scale up the web service by placing it on a faster server. If high utilization of the service continues, the developers may need to distribute copies of the web service onto additional servers and then use a load balancer, as shown in FIGURE 11.3 to distribute the program requests.

Request 1 from a user and request 2 from another user are forwarded to a load balancer in a cloud. The load balancer directs request 1 to web service copy 1 and request 2 to web service copy 2 in the same cloud. Web service copy 3 is also available in the cloud.

FIGURE 11-3 Using a load-balancing model, developers can scale a web-service solution.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.100.20