concept load balancer in category nosql

appears as: load balcers, load balancer, A load balcer, load balcer
Making Sense of NoSQL

This is an excerpt from Manning's book Making Sense of NoSQL.

In chapter 3 we showed how databases use replication to make backup copies of data in real time. We also showed how load balancers can work with the application layer to distribute queries to the correct database server. Now let’s look at how using replication allows you to horizontally scale read requests. Figure 6.12 shows this structure.

8.3.1. Using a load balancer to direct traffic to the least busy node

Websites that aim for high availability use a front-end service called a load balancer. A diagram of a load balancer is shown in figure 8.2.

Figure 8.2. A load balancer is ideal when you have a large number of processors that can each fulfill a service request. To gain performance advantages, all service requests arrive at a load balancer service that distributes the request to the least-busy processor. A heartbeat signal from each application server provides a list of which application servers are working. An application server may request data from one or more NoSQL databases.

In this figure, service requests enter on the left and are sent to a pool of resources called the load balancer pool. The service requests are sent to a master load balancer and then forwarded to one of the application servers. Ideally, each application server has some type of load indication that tells the load balancer how busy it is. The least-busy application server will then receive the request. Application servers are responsible for servicing the request and returning the results. Each application server may request data services from one or many NoSQL servers. The result of these query requests are returned and the service is fulfilled.