SlideShare a Scribd company logo
1 of 23
THE STUDY ON LOAD BALANCING
STRATEGIES IN DISTRIBUTED
COMPUTING SYSTEM
INTRODUCTION
• Processing speed of a system is always highly intended.
• Distributed computing system provides high performance environment
that are able to provide huge processing power.
• In distributed computing thousand of processors can be connected
either by wide area network or across a large number of systems
which consists of cheap and easily available autonomous systems like
workstations or PCs.
• The distribution of loads to the processing elements is simply called
the load balancing.
• The goal of the load balancing algorithms is to maintain the load to
each processing element such that all the processing elements become
neither overloaded nor idle that means each processing element ideally
has equal load at any moment of time during execution to obtain the
maximum performance (minimum execution time) of the system.
LOAD BALANCING
• Load balancing is the way of distributing load units (jobs or tasks) across a
set of processors which are connected to a network which may be
distributed across the globe.
• The excess load or remaining unexecuted load from a processor is migrated
to other processors which have load below the threshold load.
• Threshold load is such an amount of load to a processor that any load may
come further to that processor.
• By load balancing strategy it is possible to make every processor equally
busy and to finish the works approximately at the same time.
LOAD BALANCING OPERATION
A Load Balancing Operation is defined by three rules:
Benefits of Load balancing
Load balancing improves
the performance of each
node and hence the
overall system
performance
Load balancing reduces
the job idle time
Response time
becomes shorter
Maximum
utilization of
resources
Small jobs do
not suffer from
long starvation
Higher
throughput,
reliability
Extensibility
and incremental
growth
Low cost but
high gain
Quality of a load balancing algorithm
• Quality of a load balancing algorithm is dependent on two
factors.
• Firstly number of steps that are needed to get a balanced
state.
• Secondly the extent of load that moves over the link to which
nodes are connected.
Static Load Balancing
• In static algorithm the processes are assigned to the processors at the
compile time according to the performance of the nodes.
• Once the processes are assigned, no change or reassignment is
possible at the run time.
• Number of jobs in each node is fixed in static load balancing
algorithm. Static algorithms do not collect any information about the
nodes .
• The assignment of jobs is done to the processing nodes on the basis
of the following factors: incoming time, extent of resource needed,
mean execution time and inter-process communications.
• Since these factors should be measured before the assignment, this is
why static load balance is also called probabilistic algorithm.
Figure : Model of Processing Node
Sub classes of SLB
The static load balancing algorithms can be divided into
two sub classes:
•Optimal static load balancing.
•Sub optimal static load balancing.
Optimal Static Load Balancing Algorithms.
•If all the information and resources related to a system are known
optimal static load balancing can be done.
•It is possible to increase throughput of a system and to maximize
the use of the resources by optimal load balancing algorithm.
Sub-Optimal Static Load Balancing Algorithm
•Sub-optimal load balancing algorithm will be mandatory
for some applications when optimal solution is not found.
•The thumb-rule and heuristics methods are important for
sub-optimal algorithm.
Dynamic Load Balancing
• In dynamic load balancing algorithm assignment of jobs is done at
the runtime.
• In DLB jobs are reassigned at the runtime depending upon the
situation that is the load will be transferred from heavily loaded
nodes to the lightly loaded nodes.
• In this case communication over heads occur and becomes more
when number of processors increase.
• In dynamic load balancing no decision is taken until the process gets
execution.
• This strategy collects the information about the system state and
about the job information.
• As more information is collected by an algorithm in a short time,
potentially the algorithm can make better decision.
• Dynamic load balancing is mostly considered in heterogeneous
system because it consists of nodes with different speeds, different
communication link speeds, different memory sizes, and variable
external loads due to the multiple.
Figure: Job Migration in Dynamic Load Balancing Strategy
Comparison between SLB and DLB
COMPARISON of SOME DYNAMIC LOAD
BALANCING ALGORITHMS
1. Nearest Neighbour Algorithm: With nearest neighbour algorithm
each processor considers only its immediate neighbour processors
to perform load balancing operations. A processor takes the
balancing decision depending on the load it has and the load
information to its immediate neighbours.
2. Random (RAND) Algorithm: As soon as a workload (greater than
threshold load) is generated in a processor, it is migrated to a
randomly selected neighbour. It does not check state information of
anode. This algorithm neither maintains any local load information
nor sends any load information to other processors . Furthermore, it
is simple to design and easy to implement. But it causes
considerable communication overheads due to the random selection
of lightly loaded processor to the nearest neighbours.
3. Adaptive Contracting with Neighbor (ACWN):As soon as the
workload is newly generated, it is migrated to the least loaded
nearest neighbor processor. The load accepting processor keeps the
load in its local heap. If the load in its heap is less than to its
threshold load then no problem otherwise it sends the load to the
neighbor processor which has load below the threshold load. So,
ACWN does require maintaining the local load information and
also the load information of the neighbors for exchanging the load
periodically. Hence, RAND is different form the ACWN in a
respect that ACWN always finds the target node which is least
loaded in neighbors.
4. CYCLIC Algorithm: This is the outcome of RAND algorithm after
slight modification. The workload is assigned to a remote system in
a cyclic fashion. This algorithm remembers always the last system
to which a process was sent.
5. PROBABILISTIC: Each node keeps a load vector including the
load of a subset of nodes. The first half of the load vector holding
also the local load is sent periodically to a randomly selected node.
Thus information is revised in this way and the information may be
spread in the network without broadcasting. However, the quality
of this algorithm is not ideal, its extensibility is poor and insertion
is delayed.
6. Prioritized Random (PRAND) Algorithm: Modification is done on
RAND and ACWN for the non-uniform workload to get prioritized
RAND (PRAND) and prioritized ACWN (PACWN) respectively.
In these algorithms the work loads are assigned index numbers on
the basis of the weight of their heaps. PRAND is similar to RAND
except that it selects the second largest weighted load from the heap
and transfers it to a randomly selected neighbor. On the other hand,
PACWN selects the second largest weighted workload and transfer
it to the least loaded neighbor .
7. THRESHOLD and LEAST: They both use a partial knowledge
obtained by message exchanges. A node is randomly selected for
accepting a migrated load in THRESHOLD. If the load is below
threshold load, the load accepted by there. Otherwise, polling is
repeated with another node for finding appropriate node for
transferring the load. After a maximum number of attempts if no
proper recipient has been reported, the process is executed locally.
LEAST is an instant of THRESHOLD and after polling least
loaded machine is chosen for receiving the migrated load.
THRESHOLD and LEAST have good performance and are of
simple in nature. Furthermore, up-to-date load values are used by
these algorithms.
8. RECEPTION: In this algorithm, nodes having below the threshold
load find the overloaded node by random polling for migrating load
from overloaded node.
9. Centralized Information and Centralized Decision: CENTRAL is a
subclass of this algorithm. When a heavily loaded node wants to
migrate a job, it requests a server for a lightly loaded node. Every
node in the system informs the server machine whether a lightly
loaded node is available or not.
10. Centralized Information and Distributed Decision: In GLOBAL,
collection of information is centralized while decision making is
distributed. The load situation on the nodes is broadcasted by the
server. Through this information an overloaded processor finds the
lightly loaded node from its load vector without going through the
server.
11. Distributed information and Distributed Decision: Each node in
OFFER broadcasts its load situation periodically and each node
keeps a global load vector. Performance of this algorithm is poor.
12. RADIO: In RADIO, both the information and decision are
distributed and there is no broadcasting without compulsion. In this
algorithm, a distributed list consisting of lightly loaded nodes in
which each machine is aware of its successor and predecessor.
Furthermore, each node is aware of the head of the available list
that is called manager. The migration of a process from a heavily
loaded node to the lightly loaded node is done directly or indirectly
through the manager.
13. The Shortest Expected Delay (SED) Strategy: These strategy
efforts to minimize the expected delay of each job completion so
the destination node will be selected in such a way that the delay
becomes minimal. This is a greedy approach in which each job
does according to its best interest and joins the queue which can
minimize the expected delay of completion.
14. The Never Queue (NQ) Strategy: NQ policy is a separable strategy
in which the sending server estimates the cost of sending a job to
each final destination or a subset of final destinations and the job is
placed on the server with minimal cost . This algorithm always
places a job to a fastest available server.
15. Greedy Throughput (GT) Strategy: This strategy is different from
SED and NQ strategies. GT strategy deals with the throughput of
the system that is the number of jobs completed per unit time
would be maximum before the arrival of new job instead of
maximizing only the throughput rate at the instant of balancing.
This is why it is called Greedy Throughput (GT) policy.
COMPARISON of DLB
CONCLUSION
• we studied the load balancing strategies lucidly in detail.
• Load balancing in distributed systems is the most thrust area in
research today as the demand of heterogeneous computing due to
the wide use of internet.
• More efficient load balancing algorithm more is the performance of
the computing system.
• Finally, we studied some important dynamic load balancing
algorithms and made their comparison to focus their importance in
different situations.
• There exists no absolutely perfect balancing algorithm but one can
use depending one the need.

More Related Content

What's hot

What's hot (20)

Page Replacement
Page ReplacementPage Replacement
Page Replacement
 
distributed Computing system model
distributed Computing system modeldistributed Computing system model
distributed Computing system model
 
Distributed File Systems
Distributed File Systems Distributed File Systems
Distributed File Systems
 
Inter Process Communication
Inter Process CommunicationInter Process Communication
Inter Process Communication
 
Multithreading
MultithreadingMultithreading
Multithreading
 
Resource management
Resource managementResource management
Resource management
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel system
 
Mainframe systems
Mainframe systemsMainframe systems
Mainframe systems
 
Interprocess communication (IPC) IN O.S
Interprocess communication (IPC) IN O.SInterprocess communication (IPC) IN O.S
Interprocess communication (IPC) IN O.S
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Demand paging
Demand pagingDemand paging
Demand paging
 
Clock synchronization in distributed system
Clock synchronization in distributed systemClock synchronization in distributed system
Clock synchronization in distributed system
 
Operating Systems - "Chapter 4: Multithreaded Programming"
Operating Systems - "Chapter 4:  Multithreaded Programming"Operating Systems - "Chapter 4:  Multithreaded Programming"
Operating Systems - "Chapter 4: Multithreaded Programming"
 
System calls
System callsSystem calls
System calls
 
File system structure
File system structureFile system structure
File system structure
 
Introduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed ComputingIntroduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed Computing
 
CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2
 
DBMS - RAID
DBMS - RAIDDBMS - RAID
DBMS - RAID
 
Message passing in Distributed Computing Systems
Message passing in Distributed Computing SystemsMessage passing in Distributed Computing Systems
Message passing in Distributed Computing Systems
 
remote procedure calls
  remote procedure calls  remote procedure calls
remote procedure calls
 

Similar to Load Balancing In Distributed Computing

Load Balancing in Cloud Computing.pptx
Load Balancing in Cloud Computing.pptxLoad Balancing in Cloud Computing.pptx
Load Balancing in Cloud Computing.pptxPradipPoudel4
 
Distributed System Management
Distributed System ManagementDistributed System Management
Distributed System ManagementIbrahim Amer
 
The Concept of Load Balancing Server in Secured and Intelligent Network
The Concept of Load Balancing Server in Secured and Intelligent NetworkThe Concept of Load Balancing Server in Secured and Intelligent Network
The Concept of Load Balancing Server in Secured and Intelligent NetworkIJAEMSJORNAL
 
Volume 2-issue-6-2061-2063
Volume 2-issue-6-2061-2063Volume 2-issue-6-2061-2063
Volume 2-issue-6-2061-2063Editor IJARCET
 
Volume 2-issue-6-2061-2063
Volume 2-issue-6-2061-2063Volume 2-issue-6-2061-2063
Volume 2-issue-6-2061-2063Editor IJARCET
 
A study of load distribution algorithms in distributed scheduling
A study of load distribution algorithms in distributed schedulingA study of load distribution algorithms in distributed scheduling
A study of load distribution algorithms in distributed schedulingeSAT Publishing House
 
Load balancing in Distributed Systems
Load balancing in Distributed SystemsLoad balancing in Distributed Systems
Load balancing in Distributed SystemsRicha Singh
 
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud ComputingHybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud ComputingEswar Publications
 
Dynamic load balancing in distributed systems in the presence of delays a re...
Dynamic load balancing in distributed systems in the presence of delays  a re...Dynamic load balancing in distributed systems in the presence of delays  a re...
Dynamic load balancing in distributed systems in the presence of delays a re...Mumbai Academisc
 
Webinar Slides: Tungsten Connector / Proxy – The Secret Sauce Behind Zero-Dow...
Webinar Slides: Tungsten Connector / Proxy – The Secret Sauce Behind Zero-Dow...Webinar Slides: Tungsten Connector / Proxy – The Secret Sauce Behind Zero-Dow...
Webinar Slides: Tungsten Connector / Proxy – The Secret Sauce Behind Zero-Dow...Continuent
 
Continental division of load and balanced ant
Continental division of load and balanced antContinental division of load and balanced ant
Continental division of load and balanced antIJCI JOURNAL
 
A distributed control law for load balancing in content delivery networks
A distributed control law for load balancing in content delivery networksA distributed control law for load balancing in content delivery networks
A distributed control law for load balancing in content delivery networksJPINFOTECH JAYAPRAKASH
 
Iaetsd improved load balancing model based on
Iaetsd improved load balancing model based onIaetsd improved load balancing model based on
Iaetsd improved load balancing model based onIaetsd Iaetsd
 
Modified Active Monitoring Load Balancing with Cloud Computing
Modified Active Monitoring Load Balancing with Cloud ComputingModified Active Monitoring Load Balancing with Cloud Computing
Modified Active Monitoring Load Balancing with Cloud Computingijsrd.com
 
Load Balancing traffic in OpenStack neutron
Load Balancing traffic in OpenStack neutron Load Balancing traffic in OpenStack neutron
Load Balancing traffic in OpenStack neutron sufianfauzani
 
Parallel and Distributed Computing Chapter 7
Parallel and Distributed Computing Chapter 7Parallel and Distributed Computing Chapter 7
Parallel and Distributed Computing Chapter 7AbdullahMunir32
 
A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...
A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...
A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...IRJET Journal
 

Similar to Load Balancing In Distributed Computing (20)

Load Balancing in Cloud Computing.pptx
Load Balancing in Cloud Computing.pptxLoad Balancing in Cloud Computing.pptx
Load Balancing in Cloud Computing.pptx
 
Distributed System Management
Distributed System ManagementDistributed System Management
Distributed System Management
 
The Concept of Load Balancing Server in Secured and Intelligent Network
The Concept of Load Balancing Server in Secured and Intelligent NetworkThe Concept of Load Balancing Server in Secured and Intelligent Network
The Concept of Load Balancing Server in Secured and Intelligent Network
 
Volume 2-issue-6-2061-2063
Volume 2-issue-6-2061-2063Volume 2-issue-6-2061-2063
Volume 2-issue-6-2061-2063
 
Volume 2-issue-6-2061-2063
Volume 2-issue-6-2061-2063Volume 2-issue-6-2061-2063
Volume 2-issue-6-2061-2063
 
A study of load distribution algorithms in distributed scheduling
A study of load distribution algorithms in distributed schedulingA study of load distribution algorithms in distributed scheduling
A study of load distribution algorithms in distributed scheduling
 
Resource management
Resource managementResource management
Resource management
 
Load balancing in Distributed Systems
Load balancing in Distributed SystemsLoad balancing in Distributed Systems
Load balancing in Distributed Systems
 
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud ComputingHybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
 
Dynamic load balancing in distributed systems in the presence of delays a re...
Dynamic load balancing in distributed systems in the presence of delays  a re...Dynamic load balancing in distributed systems in the presence of delays  a re...
Dynamic load balancing in distributed systems in the presence of delays a re...
 
Load Balancing.pptx
Load Balancing.pptxLoad Balancing.pptx
Load Balancing.pptx
 
Webinar Slides: Tungsten Connector / Proxy – The Secret Sauce Behind Zero-Dow...
Webinar Slides: Tungsten Connector / Proxy – The Secret Sauce Behind Zero-Dow...Webinar Slides: Tungsten Connector / Proxy – The Secret Sauce Behind Zero-Dow...
Webinar Slides: Tungsten Connector / Proxy – The Secret Sauce Behind Zero-Dow...
 
Continental division of load and balanced ant
Continental division of load and balanced antContinental division of load and balanced ant
Continental division of load and balanced ant
 
A distributed control law for load balancing in content delivery networks
A distributed control law for load balancing in content delivery networksA distributed control law for load balancing in content delivery networks
A distributed control law for load balancing in content delivery networks
 
J0210053057
J0210053057J0210053057
J0210053057
 
Iaetsd improved load balancing model based on
Iaetsd improved load balancing model based onIaetsd improved load balancing model based on
Iaetsd improved load balancing model based on
 
Modified Active Monitoring Load Balancing with Cloud Computing
Modified Active Monitoring Load Balancing with Cloud ComputingModified Active Monitoring Load Balancing with Cloud Computing
Modified Active Monitoring Load Balancing with Cloud Computing
 
Load Balancing traffic in OpenStack neutron
Load Balancing traffic in OpenStack neutron Load Balancing traffic in OpenStack neutron
Load Balancing traffic in OpenStack neutron
 
Parallel and Distributed Computing Chapter 7
Parallel and Distributed Computing Chapter 7Parallel and Distributed Computing Chapter 7
Parallel and Distributed Computing Chapter 7
 
A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...
A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...
A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...
 

More from Richa Singh

Fluid Simulation In Computer Graphics
Fluid Simulation In Computer GraphicsFluid Simulation In Computer Graphics
Fluid Simulation In Computer GraphicsRicha Singh
 
Nested classes in java
Nested classes in javaNested classes in java
Nested classes in javaRicha Singh
 
Google LOON Project
Google LOON ProjectGoogle LOON Project
Google LOON ProjectRicha Singh
 
Virtual Private Network
Virtual Private NetworkVirtual Private Network
Virtual Private NetworkRicha Singh
 
DLNA- DIGITAL LIVING NETWORK ALLIANCE
DLNA- DIGITAL LIVING NETWORK ALLIANCEDLNA- DIGITAL LIVING NETWORK ALLIANCE
DLNA- DIGITAL LIVING NETWORK ALLIANCERicha Singh
 
Google's LOON Project
Google's LOON ProjectGoogle's LOON Project
Google's LOON ProjectRicha Singh
 

More from Richa Singh (7)

Fluid Simulation In Computer Graphics
Fluid Simulation In Computer GraphicsFluid Simulation In Computer Graphics
Fluid Simulation In Computer Graphics
 
Nested classes in java
Nested classes in javaNested classes in java
Nested classes in java
 
Google LOON Project
Google LOON ProjectGoogle LOON Project
Google LOON Project
 
Virtual Private Network
Virtual Private NetworkVirtual Private Network
Virtual Private Network
 
DLNA- DIGITAL LIVING NETWORK ALLIANCE
DLNA- DIGITAL LIVING NETWORK ALLIANCEDLNA- DIGITAL LIVING NETWORK ALLIANCE
DLNA- DIGITAL LIVING NETWORK ALLIANCE
 
Html Basic Tags
Html Basic TagsHtml Basic Tags
Html Basic Tags
 
Google's LOON Project
Google's LOON ProjectGoogle's LOON Project
Google's LOON Project
 

Recently uploaded

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 

Recently uploaded (20)

The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 

Load Balancing In Distributed Computing

  • 1. THE STUDY ON LOAD BALANCING STRATEGIES IN DISTRIBUTED COMPUTING SYSTEM
  • 2. INTRODUCTION • Processing speed of a system is always highly intended. • Distributed computing system provides high performance environment that are able to provide huge processing power. • In distributed computing thousand of processors can be connected either by wide area network or across a large number of systems which consists of cheap and easily available autonomous systems like workstations or PCs. • The distribution of loads to the processing elements is simply called the load balancing. • The goal of the load balancing algorithms is to maintain the load to each processing element such that all the processing elements become neither overloaded nor idle that means each processing element ideally has equal load at any moment of time during execution to obtain the maximum performance (minimum execution time) of the system.
  • 3. LOAD BALANCING • Load balancing is the way of distributing load units (jobs or tasks) across a set of processors which are connected to a network which may be distributed across the globe. • The excess load or remaining unexecuted load from a processor is migrated to other processors which have load below the threshold load. • Threshold load is such an amount of load to a processor that any load may come further to that processor. • By load balancing strategy it is possible to make every processor equally busy and to finish the works approximately at the same time.
  • 4. LOAD BALANCING OPERATION A Load Balancing Operation is defined by three rules:
  • 5. Benefits of Load balancing Load balancing improves the performance of each node and hence the overall system performance Load balancing reduces the job idle time Response time becomes shorter Maximum utilization of resources Small jobs do not suffer from long starvation Higher throughput, reliability Extensibility and incremental growth Low cost but high gain
  • 6. Quality of a load balancing algorithm • Quality of a load balancing algorithm is dependent on two factors. • Firstly number of steps that are needed to get a balanced state. • Secondly the extent of load that moves over the link to which nodes are connected.
  • 7. Static Load Balancing • In static algorithm the processes are assigned to the processors at the compile time according to the performance of the nodes. • Once the processes are assigned, no change or reassignment is possible at the run time. • Number of jobs in each node is fixed in static load balancing algorithm. Static algorithms do not collect any information about the nodes . • The assignment of jobs is done to the processing nodes on the basis of the following factors: incoming time, extent of resource needed, mean execution time and inter-process communications. • Since these factors should be measured before the assignment, this is why static load balance is also called probabilistic algorithm.
  • 8. Figure : Model of Processing Node
  • 9. Sub classes of SLB The static load balancing algorithms can be divided into two sub classes: •Optimal static load balancing. •Sub optimal static load balancing. Optimal Static Load Balancing Algorithms. •If all the information and resources related to a system are known optimal static load balancing can be done. •It is possible to increase throughput of a system and to maximize the use of the resources by optimal load balancing algorithm.
  • 10. Sub-Optimal Static Load Balancing Algorithm •Sub-optimal load balancing algorithm will be mandatory for some applications when optimal solution is not found. •The thumb-rule and heuristics methods are important for sub-optimal algorithm.
  • 11. Dynamic Load Balancing • In dynamic load balancing algorithm assignment of jobs is done at the runtime. • In DLB jobs are reassigned at the runtime depending upon the situation that is the load will be transferred from heavily loaded nodes to the lightly loaded nodes. • In this case communication over heads occur and becomes more when number of processors increase. • In dynamic load balancing no decision is taken until the process gets execution.
  • 12. • This strategy collects the information about the system state and about the job information. • As more information is collected by an algorithm in a short time, potentially the algorithm can make better decision. • Dynamic load balancing is mostly considered in heterogeneous system because it consists of nodes with different speeds, different communication link speeds, different memory sizes, and variable external loads due to the multiple.
  • 13. Figure: Job Migration in Dynamic Load Balancing Strategy
  • 15. COMPARISON of SOME DYNAMIC LOAD BALANCING ALGORITHMS 1. Nearest Neighbour Algorithm: With nearest neighbour algorithm each processor considers only its immediate neighbour processors to perform load balancing operations. A processor takes the balancing decision depending on the load it has and the load information to its immediate neighbours. 2. Random (RAND) Algorithm: As soon as a workload (greater than threshold load) is generated in a processor, it is migrated to a randomly selected neighbour. It does not check state information of anode. This algorithm neither maintains any local load information nor sends any load information to other processors . Furthermore, it is simple to design and easy to implement. But it causes considerable communication overheads due to the random selection of lightly loaded processor to the nearest neighbours.
  • 16. 3. Adaptive Contracting with Neighbor (ACWN):As soon as the workload is newly generated, it is migrated to the least loaded nearest neighbor processor. The load accepting processor keeps the load in its local heap. If the load in its heap is less than to its threshold load then no problem otherwise it sends the load to the neighbor processor which has load below the threshold load. So, ACWN does require maintaining the local load information and also the load information of the neighbors for exchanging the load periodically. Hence, RAND is different form the ACWN in a respect that ACWN always finds the target node which is least loaded in neighbors. 4. CYCLIC Algorithm: This is the outcome of RAND algorithm after slight modification. The workload is assigned to a remote system in a cyclic fashion. This algorithm remembers always the last system to which a process was sent.
  • 17. 5. PROBABILISTIC: Each node keeps a load vector including the load of a subset of nodes. The first half of the load vector holding also the local load is sent periodically to a randomly selected node. Thus information is revised in this way and the information may be spread in the network without broadcasting. However, the quality of this algorithm is not ideal, its extensibility is poor and insertion is delayed. 6. Prioritized Random (PRAND) Algorithm: Modification is done on RAND and ACWN for the non-uniform workload to get prioritized RAND (PRAND) and prioritized ACWN (PACWN) respectively. In these algorithms the work loads are assigned index numbers on the basis of the weight of their heaps. PRAND is similar to RAND except that it selects the second largest weighted load from the heap and transfers it to a randomly selected neighbor. On the other hand, PACWN selects the second largest weighted workload and transfer it to the least loaded neighbor .
  • 18. 7. THRESHOLD and LEAST: They both use a partial knowledge obtained by message exchanges. A node is randomly selected for accepting a migrated load in THRESHOLD. If the load is below threshold load, the load accepted by there. Otherwise, polling is repeated with another node for finding appropriate node for transferring the load. After a maximum number of attempts if no proper recipient has been reported, the process is executed locally. LEAST is an instant of THRESHOLD and after polling least loaded machine is chosen for receiving the migrated load. THRESHOLD and LEAST have good performance and are of simple in nature. Furthermore, up-to-date load values are used by these algorithms. 8. RECEPTION: In this algorithm, nodes having below the threshold load find the overloaded node by random polling for migrating load from overloaded node.
  • 19. 9. Centralized Information and Centralized Decision: CENTRAL is a subclass of this algorithm. When a heavily loaded node wants to migrate a job, it requests a server for a lightly loaded node. Every node in the system informs the server machine whether a lightly loaded node is available or not. 10. Centralized Information and Distributed Decision: In GLOBAL, collection of information is centralized while decision making is distributed. The load situation on the nodes is broadcasted by the server. Through this information an overloaded processor finds the lightly loaded node from its load vector without going through the server.
  • 20. 11. Distributed information and Distributed Decision: Each node in OFFER broadcasts its load situation periodically and each node keeps a global load vector. Performance of this algorithm is poor. 12. RADIO: In RADIO, both the information and decision are distributed and there is no broadcasting without compulsion. In this algorithm, a distributed list consisting of lightly loaded nodes in which each machine is aware of its successor and predecessor. Furthermore, each node is aware of the head of the available list that is called manager. The migration of a process from a heavily loaded node to the lightly loaded node is done directly or indirectly through the manager.
  • 21. 13. The Shortest Expected Delay (SED) Strategy: These strategy efforts to minimize the expected delay of each job completion so the destination node will be selected in such a way that the delay becomes minimal. This is a greedy approach in which each job does according to its best interest and joins the queue which can minimize the expected delay of completion. 14. The Never Queue (NQ) Strategy: NQ policy is a separable strategy in which the sending server estimates the cost of sending a job to each final destination or a subset of final destinations and the job is placed on the server with minimal cost . This algorithm always places a job to a fastest available server. 15. Greedy Throughput (GT) Strategy: This strategy is different from SED and NQ strategies. GT strategy deals with the throughput of the system that is the number of jobs completed per unit time would be maximum before the arrival of new job instead of maximizing only the throughput rate at the instant of balancing. This is why it is called Greedy Throughput (GT) policy.
  • 23. CONCLUSION • we studied the load balancing strategies lucidly in detail. • Load balancing in distributed systems is the most thrust area in research today as the demand of heterogeneous computing due to the wide use of internet. • More efficient load balancing algorithm more is the performance of the computing system. • Finally, we studied some important dynamic load balancing algorithms and made their comparison to focus their importance in different situations. • There exists no absolutely perfect balancing algorithm but one can use depending one the need.