SlideShare une entreprise Scribd logo
1  sur  36
Utshab Saha, Avijit Podder, Hillol Dhar, Shubrahjoity Paul
Under the guidance of: Prof. Santanu Dam
GROUP NO.:- 5
Topics
Introduction
Introduction
• Principles followed by Cloud Computing.
• Resource Pooling.
• Virtualization.
• Elasticity.
• Automatic resource deployment.
• Metered Billing.
Cloud
Actual
resourc
es
Background
Background
Cloud component
• Cloud client platforms.
• Thick client.
• Thin client.
• Zero client.(Ultra thin)
Cloud server
Thin clientThin client
Internet
Thick clientThick client
Internet
Background
Cloud component
• Cloud Storage
• Public cloud.
• Private cloud.
• Community cloud.
• Hybrid cloud.
Public cloud
R1 R2 R3
Shared resourceShared resource
UB 1
UB 3
UB 4
Private cloud
R1 R2 R3
UB 1/Org 1
UB 2/Org 1
Private resourcePrivate resource
Background
Cloud component
• Cloud Network
• High bandwidth(low latency).
• Agile network.
• Network security.
Background
Background
• Deployment.
• Public cloud.
• Private cloud.
• Community cloud.
• Hybrid cloud.
Public
Background
• Deployment.
• Public cloud.
• Private cloud.
• Community cloud.
• Hybrid cloud.
Private
Background
• Deployment.
• Public cloud.
• Private cloud.
• Community cloud.
• Hybrid cloud.
Community
Background
• Deployment.
• Public cloud.
• Private cloud.
• Community cloud.
• Hybrid cloud.
Hybrid
Background
• Load balancing.
• Type of load balancing.
• Static.
• Dynamic.
• Need of load balancing.
• Improving the performance.
• Maintaining the system stability.
• Quality of services.(QoS)
• Building fault tolerance.
Algorithm Survey from several Literature
• Proposed several load balancing algorithms
• Scheduling algorithms.
• Round Robin.
• FCFS.
• Soft computing based algorithms.
• Stochastic algorithm.[1]
• Genetic algorithm.[2]
• Ant colony optimization algorithm.[3]
Algorithm Survey from several Literature
From: Dam santanu et. Al. 2015 C3IT
Proposed work
• Our proposed algorithm.
• VM allocation optimization using Simulated annealing.
• Host Side optimization.
• Target.
• Balancing load of the virtual nodes and reducing Response Time(RT).
• Progress with the project.
• Using Cloud Sim simulated Data Centers, Virtual Machines, Cloudlets.
• Virtually distributed the load.
Proposed work
• Progress with project.
Proposed work
• Our next move.
• Migrating to Cloud Analyst and implementing our proposed
algorithm.
OUR WORK
• The two algorithms implemented are
1) ROUND ROBIN.
2)FCFS.
3)SIMULATED ANNEALING
• Round robin is the scheduling algorithm used by the CPU during
execution of the process.
• All processes in this algorithm are kept in the circular queue also
known as ready queue.
• By using this algorithm, CPU makes sure, time slices ( any natural
number ) are assigned to each process in equal portions and in
circular order
IMPLEMENTING ROUND ROBIN
public int getNextAvailableVm(){
        currVm++;
        
        if (currVm >= vmStatesList.size()){
            currVm = 0;
        }
        
        allocatedVm(currVm);
        
        return currVm;
        
    }
RESULT OF ROUND ROBIN ALGORITHM
RESULT OF ROUND ROBIN ALGORITHM
First Come First Serve
• First come, first served (FCFS) is an operating system process
scheduling algorithm and a network routing management
mechanism.
• With first come, first served, what comes first is handled first.
• The next request in line will be executed once the one before it is
complete.
IMPLEMENTING FCFS
public int getNextAvailableVm() {
int temp=-1;
if(vmStatesList.size()>0) {
for (Iterator<Integer> itr = vmStatesList.keySet().iterator(); itr.hasNext();) {
temp = itr.next();
VirtualMachineState state = vmStatesList.get(temp);
if(state.equals(VirtualMachineState.AVAILABLE)){
allocatedVm(temp);
break;
}
}
}
return temp;
}
RESULT OF FCFS ALGORITM
RESULT OF FCFS ALGORITM
Simulated Annealing
• Simulated annealing (SA) is a probabilistic technique.
• VMs are assigned to have probability which tells availability ofVMs.
• Then using function call we checked highest probability and selected the
VM.
• Accordingly decremented the probability.
Implementation of Simulated Annealing
•Probability Data Structure
static float[][] anArrayOfFloats = new float[2][999999]; //probability array
•Implementation
private float getHighProbability(){
float high_probability = anArrayOfFloats[1][0];
for(int i = 1; i<vmStatesList.size(); i++) {
if(high_probability<anArrayOfFloats[1][i])
high_probability = anArrayOfFloats[1][i];
}
return high_probability;
}
Result of Simulated Annealing
COMPARISON STUDY
Algorithms Over All Response Time Data Center Processing Time
Avg(ms) Min(ms) Max(ms) Avg(ms) Min(ms) Max(ms)
Round Robin 300.06 237.06 369.12 0.34 0.02 0.61
FCFS 300.09 237.06 369.12 0.38 0.08 4.5
Simulated
Annealing
297.87 271.61 346.62 0.48 0.10 0.61
Checks
best Host
according
to Fitness
VM
requested
for Host
VM queue
Host 1
Host 2
.
.
.
Host n
Host Side Optimization
Data center
Host information
Request for Host
Info
Best Host
Request for
Host Request for Host
Best Host
Our proposed algorithm to optimize Host selection is Genetic Algorithm
References
[1] Avani Kansara, Ronak Patel et al. “AVarious Load BalancingTechniques and
Challenges in Cloud Computing – Survey ” International Journal for
Scientific Research & DevelopmentVol. 2, Issue 10, 2014 ISSN (online): 2321-
0613
[2] Dasgupta, Kousik et al. "A Genetic Algorithm (GA) Based Load Balancing
Strategy For Cloud Computing". ProcediaTechnology 10 (2013): 340-347. Web.
[3] Santanu Dam 1
, Gopa Mandal2
, Kousik Dasgupta3, Paramartha Dutta4 et al.
“An Ant Colony Based Load Balancing Strategy in Cloud Computing “.
Advanced Computing, Networking and Informatics­Volume 2
Smart Innovation, Systems andTechnologiesVolume 28, 2014, pp 403-413
Load Balancing In Cloud Computing newppt

Contenu connexe

Tendances

LOAD BALANCING ALGORITHMS
LOAD BALANCING ALGORITHMSLOAD BALANCING ALGORITHMS
LOAD BALANCING ALGORITHMS
tanmayshah95
 
load balancing in public cloud ppt
load balancing in public cloud pptload balancing in public cloud ppt
load balancing in public cloud ppt
Krishna Kumar
 
Evolution of the cloud
Evolution of the cloudEvolution of the cloud
Evolution of the cloud
sagaroceanic11
 
Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...
Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...
Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...
AzarulIkhwan
 
A tutorial on CloudSim
A tutorial on CloudSimA tutorial on CloudSim
A tutorial on CloudSim
Habibur Rahman
 
Cloud architecture
Cloud architectureCloud architecture
Cloud architecture
Adeel Javaid
 

Tendances (20)

LOAD BALANCING ALGORITHMS
LOAD BALANCING ALGORITHMSLOAD BALANCING ALGORITHMS
LOAD BALANCING ALGORITHMS
 
Load balancing
Load balancingLoad balancing
Load balancing
 
load balancing in public cloud ppt
load balancing in public cloud pptload balancing in public cloud ppt
load balancing in public cloud ppt
 
Clock synchronization in distributed system
Clock synchronization in distributed systemClock synchronization in distributed system
Clock synchronization in distributed system
 
Evolution of the cloud
Evolution of the cloudEvolution of the cloud
Evolution of the cloud
 
Cloud Computing Presentation
Cloud Computing PresentationCloud Computing Presentation
Cloud Computing Presentation
 
Application of Cloud Computing
Application of Cloud ComputingApplication of Cloud Computing
Application of Cloud Computing
 
Unit 2 -Cloud Computing Architecture
Unit 2 -Cloud Computing ArchitectureUnit 2 -Cloud Computing Architecture
Unit 2 -Cloud Computing Architecture
 
Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...
Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...
Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...
 
Cloud computing notes
Cloud computing notesCloud computing notes
Cloud computing notes
 
Unit5 Cloud Federation,
Unit5 Cloud Federation,Unit5 Cloud Federation,
Unit5 Cloud Federation,
 
A tutorial on CloudSim
A tutorial on CloudSimA tutorial on CloudSim
A tutorial on CloudSim
 
Introduction of Cloud computing
Introduction of Cloud computingIntroduction of Cloud computing
Introduction of Cloud computing
 
System models in distributed system
System models in distributed systemSystem models in distributed system
System models in distributed system
 
Cloud Computing - Benefits and Challenges
Cloud Computing - Benefits and ChallengesCloud Computing - Benefits and Challenges
Cloud Computing - Benefits and Challenges
 
Evolution of Cloud Computing
Evolution of Cloud ComputingEvolution of Cloud Computing
Evolution of Cloud Computing
 
Cloud Service Models
Cloud Service ModelsCloud Service Models
Cloud Service Models
 
Virtualization in cloud computing ppt
Virtualization in cloud computing pptVirtualization in cloud computing ppt
Virtualization in cloud computing ppt
 
Cloud architecture
Cloud architectureCloud architecture
Cloud architecture
 
Cloud computing security issues and challenges
Cloud computing security issues and challengesCloud computing security issues and challenges
Cloud computing security issues and challenges
 

Similaire à Load Balancing In Cloud Computing newppt

Построение распределенной системы сбора данных с помощью RabbitMQ, Alvaro Vid...
Построение распределенной системы сбора данных с помощью RabbitMQ, Alvaro Vid...Построение распределенной системы сбора данных с помощью RabbitMQ, Alvaro Vid...
Построение распределенной системы сбора данных с помощью RabbitMQ, Alvaro Vid...
Ontico
 
AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...
Ryousei Takano
 

Similaire à Load Balancing In Cloud Computing newppt (20)

Architecting for Microservices Part 2
Architecting for Microservices Part 2Architecting for Microservices Part 2
Architecting for Microservices Part 2
 
Concurrency
ConcurrencyConcurrency
Concurrency
 
StackWatch: A prototype CloudWatch service for CloudStack
StackWatch: A prototype CloudWatch service for CloudStackStackWatch: A prototype CloudWatch service for CloudStack
StackWatch: A prototype CloudWatch service for CloudStack
 
Cloud Probing
Cloud ProbingCloud Probing
Cloud Probing
 
Aerospike Go Language Client
Aerospike Go Language ClientAerospike Go Language Client
Aerospike Go Language Client
 
Jvm memory model
Jvm memory modelJvm memory model
Jvm memory model
 
Real-time Inverted Search in the Cloud Using Lucene and Storm
Real-time Inverted Search in the Cloud Using Lucene and StormReal-time Inverted Search in the Cloud Using Lucene and Storm
Real-time Inverted Search in the Cloud Using Lucene and Storm
 
CodeMotion Amsterdam 2018 - Microservices in action at the Dutch National Police
CodeMotion Amsterdam 2018 - Microservices in action at the Dutch National PoliceCodeMotion Amsterdam 2018 - Microservices in action at the Dutch National Police
CodeMotion Amsterdam 2018 - Microservices in action at the Dutch National Police
 
Microservices in action at the Dutch National Police - Bert Jan Schrijver - C...
Microservices in action at the Dutch National Police - Bert Jan Schrijver - C...Microservices in action at the Dutch National Police - Bert Jan Schrijver - C...
Microservices in action at the Dutch National Police - Bert Jan Schrijver - C...
 
Testing the limits of cloud networks
Testing the limits of cloud networksTesting the limits of cloud networks
Testing the limits of cloud networks
 
Planning to Fail #phpne13
Planning to Fail #phpne13Planning to Fail #phpne13
Planning to Fail #phpne13
 
Cloudsim & greencloud
Cloudsim & greencloud Cloudsim & greencloud
Cloudsim & greencloud
 
Построение распределенной системы сбора данных с помощью RabbitMQ, Alvaro Vid...
Построение распределенной системы сбора данных с помощью RabbitMQ, Alvaro Vid...Построение распределенной системы сбора данных с помощью RabbitMQ, Alvaro Vid...
Построение распределенной системы сбора данных с помощью RabbitMQ, Alvaro Vid...
 
Deploying and managing Solr at scale
Deploying and managing Solr at scaleDeploying and managing Solr at scale
Deploying and managing Solr at scale
 
Groovy concurrency
Groovy concurrencyGroovy concurrency
Groovy concurrency
 
3. CPU virtualization and scheduling
3. CPU virtualization and scheduling3. CPU virtualization and scheduling
3. CPU virtualization and scheduling
 
AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...
 
The impact of cloud NSBCon NY by Yves Goeleven
The impact of cloud NSBCon NY by Yves GoelevenThe impact of cloud NSBCon NY by Yves Goeleven
The impact of cloud NSBCon NY by Yves Goeleven
 
Surge 2013: Maximizing Scalability, Resiliency, and Engineering Velocity in t...
Surge 2013: Maximizing Scalability, Resiliency, and Engineering Velocity in t...Surge 2013: Maximizing Scalability, Resiliency, and Engineering Velocity in t...
Surge 2013: Maximizing Scalability, Resiliency, and Engineering Velocity in t...
 
Distributed automation selcamp2016
Distributed automation selcamp2016Distributed automation selcamp2016
Distributed automation selcamp2016
 

Load Balancing In Cloud Computing newppt

  • 1. Utshab Saha, Avijit Podder, Hillol Dhar, Shubrahjoity Paul Under the guidance of: Prof. Santanu Dam GROUP NO.:- 5
  • 4. Introduction • Principles followed by Cloud Computing. • Resource Pooling. • Virtualization. • Elasticity. • Automatic resource deployment. • Metered Billing. Cloud Actual resourc es
  • 6. Background Cloud component • Cloud client platforms. • Thick client. • Thin client. • Zero client.(Ultra thin) Cloud server Thin clientThin client Internet Thick clientThick client Internet
  • 7. Background Cloud component • Cloud Storage • Public cloud. • Private cloud. • Community cloud. • Hybrid cloud. Public cloud R1 R2 R3 Shared resourceShared resource UB 1 UB 3 UB 4 Private cloud R1 R2 R3 UB 1/Org 1 UB 2/Org 1 Private resourcePrivate resource
  • 9. • Cloud Network • High bandwidth(low latency). • Agile network. • Network security.
  • 11. Background • Deployment. • Public cloud. • Private cloud. • Community cloud. • Hybrid cloud. Public
  • 12. Background • Deployment. • Public cloud. • Private cloud. • Community cloud. • Hybrid cloud. Private
  • 13. Background • Deployment. • Public cloud. • Private cloud. • Community cloud. • Hybrid cloud. Community
  • 14. Background • Deployment. • Public cloud. • Private cloud. • Community cloud. • Hybrid cloud. Hybrid
  • 15. Background • Load balancing. • Type of load balancing. • Static. • Dynamic. • Need of load balancing. • Improving the performance. • Maintaining the system stability. • Quality of services.(QoS) • Building fault tolerance.
  • 16. Algorithm Survey from several Literature • Proposed several load balancing algorithms • Scheduling algorithms. • Round Robin. • FCFS. • Soft computing based algorithms. • Stochastic algorithm.[1] • Genetic algorithm.[2] • Ant colony optimization algorithm.[3]
  • 17. Algorithm Survey from several Literature From: Dam santanu et. Al. 2015 C3IT
  • 18. Proposed work • Our proposed algorithm. • VM allocation optimization using Simulated annealing. • Host Side optimization. • Target. • Balancing load of the virtual nodes and reducing Response Time(RT). • Progress with the project. • Using Cloud Sim simulated Data Centers, Virtual Machines, Cloudlets. • Virtually distributed the load.
  • 19. Proposed work • Progress with project.
  • 20. Proposed work • Our next move. • Migrating to Cloud Analyst and implementing our proposed algorithm.
  • 21. OUR WORK • The two algorithms implemented are 1) ROUND ROBIN. 2)FCFS. 3)SIMULATED ANNEALING
  • 22. • Round robin is the scheduling algorithm used by the CPU during execution of the process. • All processes in this algorithm are kept in the circular queue also known as ready queue. • By using this algorithm, CPU makes sure, time slices ( any natural number ) are assigned to each process in equal portions and in circular order
  • 23. IMPLEMENTING ROUND ROBIN public int getNextAvailableVm(){         currVm++;                  if (currVm >= vmStatesList.size()){             currVm = 0;         }                  allocatedVm(currVm);                  return currVm;              }
  • 24. RESULT OF ROUND ROBIN ALGORITHM
  • 25. RESULT OF ROUND ROBIN ALGORITHM
  • 26. First Come First Serve • First come, first served (FCFS) is an operating system process scheduling algorithm and a network routing management mechanism. • With first come, first served, what comes first is handled first. • The next request in line will be executed once the one before it is complete.
  • 27. IMPLEMENTING FCFS public int getNextAvailableVm() { int temp=-1; if(vmStatesList.size()>0) { for (Iterator<Integer> itr = vmStatesList.keySet().iterator(); itr.hasNext();) { temp = itr.next(); VirtualMachineState state = vmStatesList.get(temp); if(state.equals(VirtualMachineState.AVAILABLE)){ allocatedVm(temp); break; } } } return temp; }
  • 28. RESULT OF FCFS ALGORITM
  • 29. RESULT OF FCFS ALGORITM
  • 30. Simulated Annealing • Simulated annealing (SA) is a probabilistic technique. • VMs are assigned to have probability which tells availability ofVMs. • Then using function call we checked highest probability and selected the VM. • Accordingly decremented the probability.
  • 31. Implementation of Simulated Annealing •Probability Data Structure static float[][] anArrayOfFloats = new float[2][999999]; //probability array •Implementation private float getHighProbability(){ float high_probability = anArrayOfFloats[1][0]; for(int i = 1; i<vmStatesList.size(); i++) { if(high_probability<anArrayOfFloats[1][i]) high_probability = anArrayOfFloats[1][i]; } return high_probability; }
  • 32. Result of Simulated Annealing
  • 33. COMPARISON STUDY Algorithms Over All Response Time Data Center Processing Time Avg(ms) Min(ms) Max(ms) Avg(ms) Min(ms) Max(ms) Round Robin 300.06 237.06 369.12 0.34 0.02 0.61 FCFS 300.09 237.06 369.12 0.38 0.08 4.5 Simulated Annealing 297.87 271.61 346.62 0.48 0.10 0.61
  • 34. Checks best Host according to Fitness VM requested for Host VM queue Host 1 Host 2 . . . Host n Host Side Optimization Data center Host information Request for Host Info Best Host Request for Host Request for Host Best Host Our proposed algorithm to optimize Host selection is Genetic Algorithm
  • 35. References [1] Avani Kansara, Ronak Patel et al. “AVarious Load BalancingTechniques and Challenges in Cloud Computing – Survey ” International Journal for Scientific Research & DevelopmentVol. 2, Issue 10, 2014 ISSN (online): 2321- 0613 [2] Dasgupta, Kousik et al. "A Genetic Algorithm (GA) Based Load Balancing Strategy For Cloud Computing". ProcediaTechnology 10 (2013): 340-347. Web. [3] Santanu Dam 1 , Gopa Mandal2 , Kousik Dasgupta3, Paramartha Dutta4 et al. “An Ant Colony Based Load Balancing Strategy in Cloud Computing “. Advanced Computing, Networking and Informatics­Volume 2 Smart Innovation, Systems andTechnologiesVolume 28, 2014, pp 403-413