SlideShare a Scribd company logo
1 of 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?

More Related Content

What's hot

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

What's hot (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
 

Viewers also liked

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
 

Viewers also liked (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
 

Similar to 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
 

Similar to 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 архітектура та її застосування в автоматизац...
 

Recently uploaded

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Recently uploaded (20)

IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreel
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 

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?