A simple client-server application showing how to implement the load balancing if we need to increase the performance by distributing the workload across multiple services. All 5 servers, loadbalancer and client(s) that are localhost only.
The load balancer:
- Dispatches requests to a group of servers in a Round-Robin fashion (every request is forwarded to a different server in a circular order)
- Provides the flexibility to add or subtract servers as demand dictates
- First run all servers and the load balancer.
- Run the client(s). Write a number and click on send button.