100% found this document useful (1 vote)
113 views16 pages

Load Balancing

Load balancing distributes workloads across computing resources in a cloud environment to optimize resource use and ensure continuity of service if failures occur. The goals of load balancing are to improve performance, provide redundancy, maintain stability, and enable future scalability. Load balancing algorithms can be static or dynamic, and centralized or distributed. Static algorithms like round robin distribute loads evenly without considering system state, while dynamic algorithms route loads based on current resource availability. Load balancing provides benefits like improved performance, reliability, reduced costs, flexibility, security, and seamless scalability. Load balancing technologies can be hardware-based or software-based.

Uploaded by

Asema Alimi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
113 views16 pages

Load Balancing

Load balancing distributes workloads across computing resources in a cloud environment to optimize resource use and ensure continuity of service if failures occur. The goals of load balancing are to improve performance, provide redundancy, maintain stability, and enable future scalability. Load balancing algorithms can be static or dynamic, and centralized or distributed. Static algorithms like round robin distribute loads evenly without considering system state, while dynamic algorithms route loads based on current resource availability. Load balancing provides benefits like improved performance, reliability, reduced costs, flexibility, security, and seamless scalability. Load balancing technologies can be hardware-based or software-based.

Uploaded by

Asema Alimi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Load Balancing in

Cloud Computing

ABDUL BASIT STANIKZAI


KABUL UNIVERSITY, MCS , ICT DEPARTMENT
16TH OCTOBER, 2023
Outline
 Load Balancing.
 Goals of Load balancing.
 Types of Load balancing algorithms
 Benefits of load balancing
 Type of load balancing technology
Load Balancing
 load balancing is the process of distributing workloads
across computing resources in a cloud computing
environment and carefully balancing the network traffic
accessing those resources.
 Load balancing also makes it possible to distribute
workloads across two or more geographic regions.
Load Balancing…
 Without cloud load balancer if one node fails other nodes can`t
response to the users and with load balancer if one node failed
load balancer transfer traffic to other nodes
HOW DOES IT WORK?
Goals of Load balancing
 To improve the performance
 To have a backup plan in case the system fails.
 To maintain the system stability
 To accommodate future modification in the
system
Types of Load balancing algorithms
Load Balancing
algorithm

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

to the task on first-cum-first-serve (FCFS)


the task that entered first will be Server 1 Server2 server3

first allocated the resource. T1 T2 T3


T4 T5 T6
Static Algorithm…
B. Weight round robin algorithm:
server with high performance, capacity
takes responsibility for task allocating.

Server 1 Server 2 Server 3


Priority 2 Priority 3 Priority 1

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

You might also like