SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Web Server Load Balancing 
By: Abdul-Lateef Haji-Ali, Yael Jari, 
Bashar Shehadeh, Mhd. Mamdouh Tarabishi 
Wael Tayara 
Supervised by: Dr. Ghassan Saba
Outline 
 What is SLB 
 Scope of Project 
 SLB Strategies 
 Gateway Based Strategy 
 Server Choosing Algorithms 
 Implementation & Demo 
 Testing & Results 
 Future Work
What is Server Load 
Balancing (SLB)? 
• SLB is a process and technology that 
distributes site traffic among several 
servers. 
• Transparent to the end user. 
• A single URL can have hundreds of 
servers
What is Server Load Balancing 
(SLB)?
Scope of Project 
 A study of most well known strategies. 
 A study of most well known scheduling 
algorithms. 
 A working implementation of a single 
chosen strategy for HTTP. 
 A brief analysis of the implementation 
and different algorithms.
SLB Strategies 
 Geographic Load Balancing 
 DNS Load Balancing 
 Clustering 
 Gateway based, redirection
Gateway Based Strategy 
 Broad range of features 
◦ Availability Scalability, Manageability, 
Security, QoS 
◦ Compression, caching, and packing 
requests and responses 
 Persistence using 
◦ Cookies, source address, SSL, SIP 
 Traffic redirection 
◦ Transport layer 
◦ Application Layer
Server Choosing Algorithms 
 Scheduling 
 Numerous, we chose 7 
◦ Random 
◦ Round Robin 
◦ Weighted Random 
◦ Weighted Round Robin 
◦ Least Connections 
◦ Least CPU Usage 
◦ Dynamic Random
Least CPU Load (under focus) 
 Constant monitoring of the servers for 
their CPU load 
 Pass the request to the one with the 
least CPU load 
 Pros: Most correct scheduling 
decision, if updates are not too far 
from each other 
 Cons: If updates are slow, it can 
cause congestion. Increased 
overhead
Implementation 
 4 Parts 
◦ Core 
◦ HTTP gateway implementation 
◦ HTTP protocol support classes 
◦ Other support classes 
 Demo…
Testing 
 Identical and non-identical requests 
 Single server, no gateway 
 Single server through gateway 
◦ Overhead: 1.82% 
 Two and three servers through 
gateway 
◦ All algorithms
Results
Results (cont.) 
 Mostly agrees with literature 
 Least CPU Usage has least response 
time and greatest throughput
Future Work 
 More algorithms 
 More applications 
 Caching 
 Answer to: Is there a point where SLB 
doesn’t increase performance?
Questions?

Weitere ähnliche Inhalte

Was ist angesagt?

[Altibase] 8 replication part1 (overview)
[Altibase] 8 replication part1 (overview)[Altibase] 8 replication part1 (overview)
[Altibase] 8 replication part1 (overview)
altistory
 

Was ist angesagt? (20)

Load Balancing from the Cloud - Layer 7 Aware Solution
Load Balancing from the Cloud - Layer 7 Aware SolutionLoad Balancing from the Cloud - Layer 7 Aware Solution
Load Balancing from the Cloud - Layer 7 Aware Solution
 
clustering and load balancing
clustering and load balancingclustering and load balancing
clustering and load balancing
 
Load balancing
Load balancingLoad balancing
Load balancing
 
XenApp Load Balancing
XenApp Load BalancingXenApp Load Balancing
XenApp Load Balancing
 
Load balancing
Load balancingLoad balancing
Load balancing
 
Base paper ppt-. A load balancing model based on cloud partitioning for the ...
Base paper ppt-. A  load balancing model based on cloud partitioning for the ...Base paper ppt-. A  load balancing model based on cloud partitioning for the ...
Base paper ppt-. A load balancing model based on cloud partitioning for the ...
 
Flume
FlumeFlume
Flume
 
A load balancing model based on cloud partitioning for the public cloud. ppt
A  load balancing model based on cloud partitioning for the public cloud. ppt A  load balancing model based on cloud partitioning for the public cloud. ppt
A load balancing model based on cloud partitioning for the public cloud. ppt
 
Load balancing
Load balancingLoad balancing
Load balancing
 
Real time database
Real time databaseReal time database
Real time database
 
Load Balancing with Apache
Load Balancing with ApacheLoad Balancing with Apache
Load Balancing with Apache
 
Communication between cloud services
Communication between cloud servicesCommunication between cloud services
Communication between cloud services
 
[Altibase] 8 replication part1 (overview)
[Altibase] 8 replication part1 (overview)[Altibase] 8 replication part1 (overview)
[Altibase] 8 replication part1 (overview)
 
Optimizing proxy
Optimizing proxyOptimizing proxy
Optimizing proxy
 
PLB
PLBPLB
PLB
 
Optimiszing proxy
Optimiszing proxyOptimiszing proxy
Optimiszing proxy
 
Optimiszing proxy
Optimiszing proxyOptimiszing proxy
Optimiszing proxy
 
Webinar Slides: Real-Time Replication vs. ETL - How Analytics Requires New Te...
Webinar Slides: Real-Time Replication vs. ETL - How Analytics Requires New Te...Webinar Slides: Real-Time Replication vs. ETL - How Analytics Requires New Te...
Webinar Slides: Real-Time Replication vs. ETL - How Analytics Requires New Te...
 
Load Balancing in Cloud Computing Thesis Research Help
Load Balancing in Cloud Computing Thesis Research HelpLoad Balancing in Cloud Computing Thesis Research Help
Load Balancing in Cloud Computing Thesis Research Help
 
A load balancing model based on cloud partitioning
A load balancing model based on cloud partitioningA load balancing model based on cloud partitioning
A load balancing model based on cloud partitioning
 

Andere mochten auch

LOAD BALANCING ALGORITHMS
LOAD BALANCING ALGORITHMSLOAD BALANCING ALGORITHMS
LOAD BALANCING ALGORITHMS
tanmayshah95
 
Load Balancing Apps in Docker Swarm with NGINX
Load Balancing Apps in Docker Swarm with NGINXLoad Balancing Apps in Docker Swarm with NGINX
Load Balancing Apps in Docker Swarm with NGINX
NGINX, Inc.
 
A review of essential questions
A review of essential questionsA review of essential questions
A review of essential questions
lynnsmith1215
 
Mobicents Summit 2012 - Vladimir Ralev - Mobicents Load Balancer and High Ava...
Mobicents Summit 2012 - Vladimir Ralev - Mobicents Load Balancer and High Ava...Mobicents Summit 2012 - Vladimir Ralev - Mobicents Load Balancer and High Ava...
Mobicents Summit 2012 - Vladimir Ralev - Mobicents Load Balancer and High Ava...
telestax
 
Cap guidelines 2010
Cap guidelines 2010Cap guidelines 2010
Cap guidelines 2010
Dragon Yott
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
Vikram g b
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
Vikram g b
 
Load-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serversLoad-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web servers
webhostingguy
 
Web Server Hardware and Software
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Software
webhostingguy
 
Load Balancing In Cloud Computing newppt
Load Balancing In Cloud Computing newpptLoad Balancing In Cloud Computing newppt
Load Balancing In Cloud Computing newppt
Utshab Saha
 
Internship final presentation
Internship final presentationInternship final presentation
Internship final presentation
Meme Whisper
 
Chp 7 online customer behavior
Chp 7 online customer behaviorChp 7 online customer behavior
Chp 7 online customer behavior
cheqala5626
 

Andere mochten auch (17)

LOAD BALANCING ALGORITHMS
LOAD BALANCING ALGORITHMSLOAD BALANCING ALGORITHMS
LOAD BALANCING ALGORITHMS
 
Load Balancing Apps in Docker Swarm with NGINX
Load Balancing Apps in Docker Swarm with NGINXLoad Balancing Apps in Docker Swarm with NGINX
Load Balancing Apps in Docker Swarm with NGINX
 
A review of essential questions
A review of essential questionsA review of essential questions
A review of essential questions
 
Mobicents Summit 2012 - Vladimir Ralev - Mobicents Load Balancer and High Ava...
Mobicents Summit 2012 - Vladimir Ralev - Mobicents Load Balancer and High Ava...Mobicents Summit 2012 - Vladimir Ralev - Mobicents Load Balancer and High Ava...
Mobicents Summit 2012 - Vladimir Ralev - Mobicents Load Balancer and High Ava...
 
Web Presence Strategy
Web Presence StrategyWeb Presence Strategy
Web Presence Strategy
 
Cap guidelines 2010
Cap guidelines 2010Cap guidelines 2010
Cap guidelines 2010
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
 
Web Performance Part 3 "Server-side tips"
Web Performance Part 3  "Server-side tips"Web Performance Part 3  "Server-side tips"
Web Performance Part 3 "Server-side tips"
 
Kamailio - Load Balancing Load Balancers
Kamailio - Load Balancing Load BalancersKamailio - Load Balancing Load Balancers
Kamailio - Load Balancing Load Balancers
 
Optimal load balancing in cloud computing
Optimal load balancing in cloud computingOptimal load balancing in cloud computing
Optimal load balancing in cloud computing
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
 
Load-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serversLoad-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web servers
 
Web Server Hardware and Software
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Software
 
Load Balancing In Cloud Computing newppt
Load Balancing In Cloud Computing newpptLoad Balancing In Cloud Computing newppt
Load Balancing In Cloud Computing newppt
 
E Retailing
E RetailingE Retailing
E Retailing
 
Internship final presentation
Internship final presentationInternship final presentation
Internship final presentation
 
Chp 7 online customer behavior
Chp 7 online customer behaviorChp 7 online customer behavior
Chp 7 online customer behavior
 

Ähnlich wie Web Server Load Balancing

Performance and Scalability Tuning
Performance and Scalability TuningPerformance and Scalability Tuning
Performance and Scalability Tuning
Andres March
 
ScalabilityAvailability
ScalabilityAvailabilityScalabilityAvailability
ScalabilityAvailability
webuploader
 

Ähnlich wie Web Server Load Balancing (20)

Benchmarking NGINX for Accuracy and Results
Benchmarking NGINX for Accuracy and ResultsBenchmarking NGINX for Accuracy and Results
Benchmarking NGINX for Accuracy and Results
 
AWS re:Invent 2016: Global Traffic Management with Amazon Route 53 Traffic Fl...
AWS re:Invent 2016: Global Traffic Management with Amazon Route 53 Traffic Fl...AWS re:Invent 2016: Global Traffic Management with Amazon Route 53 Traffic Fl...
AWS re:Invent 2016: Global Traffic Management with Amazon Route 53 Traffic Fl...
 
Performance testing in scope of migration to cloud by Serghei Radov
Performance testing in scope of migration to cloud by Serghei RadovPerformance testing in scope of migration to cloud by Serghei Radov
Performance testing in scope of migration to cloud by Serghei Radov
 
Performance and Scalability Tuning
Performance and Scalability TuningPerformance and Scalability Tuning
Performance and Scalability Tuning
 
haproxy-150423120602-conversion-gate01.pdf
haproxy-150423120602-conversion-gate01.pdfhaproxy-150423120602-conversion-gate01.pdf
haproxy-150423120602-conversion-gate01.pdf
 
HAProxy
HAProxy HAProxy
HAProxy
 
Advanced DNS Traffic Management using Amazon Route 53 - AWS Online Teck Talks
Advanced DNS Traffic Management using Amazon Route 53 - AWS Online Teck TalksAdvanced DNS Traffic Management using Amazon Route 53 - AWS Online Teck Talks
Advanced DNS Traffic Management using Amazon Route 53 - AWS Online Teck Talks
 
Deep Dive on Elastic Load Balancing
Deep Dive on Elastic Load BalancingDeep Dive on Elastic Load Balancing
Deep Dive on Elastic Load Balancing
 
Understanding System Design and Architecture Blueprints of Efficiency
Understanding System Design and Architecture Blueprints of EfficiencyUnderstanding System Design and Architecture Blueprints of Efficiency
Understanding System Design and Architecture Blueprints of Efficiency
 
ScalabilityAvailability
ScalabilityAvailabilityScalabilityAvailability
ScalabilityAvailability
 
Network Load Balancing.pptx
Network Load Balancing.pptxNetwork Load Balancing.pptx
Network Load Balancing.pptx
 
SOAP vs REST
SOAP vs RESTSOAP vs REST
SOAP vs REST
 
Adding Value in the Cloud with Performance Test
Adding Value in the Cloud with Performance TestAdding Value in the Cloud with Performance Test
Adding Value in the Cloud with Performance Test
 
My Dissertation 2016
My Dissertation 2016My Dissertation 2016
My Dissertation 2016
 
Deep Dive on Elastic Load Balancing
Deep Dive on Elastic Load BalancingDeep Dive on Elastic Load Balancing
Deep Dive on Elastic Load Balancing
 
HTTP 2.0 – What do I need to know?
HTTP 2.0 – What do I need to know? HTTP 2.0 – What do I need to know?
HTTP 2.0 – What do I need to know?
 
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...
 
What's New in NGINX Plus R7?
What's New in NGINX Plus R7?What's New in NGINX Plus R7?
What's New in NGINX Plus R7?
 
Oleksandr Khotemskyi - Serverless architecture and how to apply it in Automa...
Oleksandr Khotemskyi  - Serverless architecture and how to apply it in Automa...Oleksandr Khotemskyi  - Serverless architecture and how to apply it in Automa...
Oleksandr Khotemskyi - Serverless architecture and how to apply it in Automa...
 
Олександр Хотемський:”Serverless архітектура та її застосування в автоматизац...
Олександр Хотемський:”Serverless архітектура та її застосування в автоматизац...Олександр Хотемський:”Serverless архітектура та її застосування в автоматизац...
Олександр Хотемський:”Serverless архітектура та її застосування в автоматизац...
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Web Server Load Balancing

  • 1. Web Server Load Balancing By: Abdul-Lateef Haji-Ali, Yael Jari, Bashar Shehadeh, Mhd. Mamdouh Tarabishi Wael Tayara Supervised by: Dr. Ghassan Saba
  • 2. Outline  What is SLB  Scope of Project  SLB Strategies  Gateway Based Strategy  Server Choosing Algorithms  Implementation & Demo  Testing & Results  Future Work
  • 3. What is Server Load Balancing (SLB)? • SLB is a process and technology that distributes site traffic among several servers. • Transparent to the end user. • A single URL can have hundreds of servers
  • 4. What is Server Load Balancing (SLB)?
  • 5. Scope of Project  A study of most well known strategies.  A study of most well known scheduling algorithms.  A working implementation of a single chosen strategy for HTTP.  A brief analysis of the implementation and different algorithms.
  • 6. SLB Strategies  Geographic Load Balancing  DNS Load Balancing  Clustering  Gateway based, redirection
  • 7. Gateway Based Strategy  Broad range of features ◦ Availability Scalability, Manageability, Security, QoS ◦ Compression, caching, and packing requests and responses  Persistence using ◦ Cookies, source address, SSL, SIP  Traffic redirection ◦ Transport layer ◦ Application Layer
  • 8. Server Choosing Algorithms  Scheduling  Numerous, we chose 7 ◦ Random ◦ Round Robin ◦ Weighted Random ◦ Weighted Round Robin ◦ Least Connections ◦ Least CPU Usage ◦ Dynamic Random
  • 9. Least CPU Load (under focus)  Constant monitoring of the servers for their CPU load  Pass the request to the one with the least CPU load  Pros: Most correct scheduling decision, if updates are not too far from each other  Cons: If updates are slow, it can cause congestion. Increased overhead
  • 10. Implementation  4 Parts ◦ Core ◦ HTTP gateway implementation ◦ HTTP protocol support classes ◦ Other support classes  Demo…
  • 11. Testing  Identical and non-identical requests  Single server, no gateway  Single server through gateway ◦ Overhead: 1.82%  Two and three servers through gateway ◦ All algorithms
  • 13. Results (cont.)  Mostly agrees with literature  Least CPU Usage has least response time and greatest throughput
  • 14. Future Work  More algorithms  More applications  Caching  Answer to: Is there a point where SLB doesn’t increase performance?