Load Balancing
Load Balancing
Cloud Computing
Static Dynamic
centralized Distributed
cooperative
Non-
cooperative
Static Algorithm
Staticalgorithm doesn't depend on the current state of the
system. Prior knowledge of the system is needed.
divide the traffic equivalently between all servers.
A. Round Robin algorithm
Task
T1 T2 T3 T4 T5 T6
resources are provisioned lists
Task
T1 T2 T3 T4 T5 T6 T2 T3 T1
lists
T5 T6 T4
Dynamic Algorithm
the dynamic algorithm first identifies the free server in the
entire network and gives it priority.
Making load transfer decisions based on the current system
state.
A. Centralized: In centralized load balancing technique all the
allocation and scheduling decision are made by a single node.
This technique reduces the time required to analyze
different cloud resources.
Also the network is no longer fault tolerant in this scenario
as failure of centralized node caused big problem and recovery
might not be easy in case of node failure
Dynamic Algorithm – Distributed alg
B. Distributed:
In the distributed one, the dynamic load balancing
algorithm is executed by all nodes
here if one node fails other nodes takes responsibility.
1) Cooperative
the nodes work side-by-side to achieve
a common objective, for example, to improve the overall response
time, etc.
2) Non-cooperative
each node works independently toward a goal local to it, for
example, to improve the response time of a local task.
BENEFITS OF LOAD BALANCING?
Improved performance. By automatically distributing workloads across
multiple resources.
Greater reliability. Hosting applications at multiple cloud hubs enables
organizations to route traffic around outages.
Reduced costs. With software-based load balancing in the cloud,
organizations can eliminate the cost of installing, housing, configuring, and
maintaining on-premises load-balancing appliances.
Improved flexibility. By routing traffic to alternative servers.
Better security. Cloud load balancing improves defenses against attacks by
spreading traffic across multiple servers.
Seamless scalability. Cloud load balancing solutions can help scale
applications automatically and efficiently to manage fluctuations in
workloads.
TYPES OF LOAD BALANCING TECHNOLOGY
Hardware load balancers
specialized routers or switches which are deployed in between the
servers and the client that runs load balancing software to balance the
load.
Hardware Load Balancer Examples
Loadbalancer
CISCO system catalyst
Barracuda load balancer
Coytepoint load balancer
TYPES OF LOAD BALANCING TECHNOLOGY
Software load balancers
Software-based load balancers run on standard hardware (desktop,
PCs) and standard operating systems or a virtual machine
Software-based load balancers may be installed directly onto a server,
or they may be purchased as load balancer as a service (LBaaS).
Advantages:
Scalability
Flexibility: compatible with a variety of environments.
Cost: cheaper than hardware load balancers
Ease of Deployment:
Security:
reference
https://
www.vmware.com/topics/glossary/content/software-load-balancing.html
https://
kemptechnologies.com/load-balancer/load-balancing-algorithms-techniqu
es
https://www.geeksforgeeks.org/load-balancing-approach-in-distributed-sy
stem
/
https://www.geeksforgeeks.org/static-vs-dynamic-load-balancing/
https://www.linkedin.com/products/categories/load-balancing-software