1 Distributed Systems : Server Load Balancing Dr. Sunny Jeong. Mr. Colin Zhang With Thanks to Prof. G. Coulouris,

Slides:



Advertisements
Similar presentations
Welcome to Middleware Joseph Amrithraj
Advertisements

Scheduling in Web Server Clusters CS 260 LECTURE 3 From: IBM Technical Report.
High Availability Options for JD Edwards EnterpriseOne Shawn Scanlon, GSI.
WebLogic Clustering - Failover, and Load Balancing Bryan Ferrel and Ramarao Desaraju CS 522 Computer Communications December 4, 2002.
Capacity Planning and Predicting Growth for Vista Amy Edwards, Ezra Freeloe and George Hernandez University System of Georgia 2007.
1 Routing and Scheduling in Web Server Clusters. 2 Reference The State of the Art in Locally Distributed Web-server Systems Valeria Cardellini, Emiliano.
Module 8: Concepts of a Network Load Balancing Cluster
1 Internet Networking Spring 2004 Tutorial 13 LSNAT - Load Sharing NAT (RFC 2391)
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
2/23/2004 Load Balancing February 23, /23/2004 Assignments Work on Registrar Assignment.
Introduction to z/OS Basics © 2006 IBM Corporation Chapter 13: z/OS HTTP Server.
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
Lesson 20 – OTHER WINDOWS 2000 SERVER SERVICES. DHCP server DNS RAS and RRAS Internet Information Server Cluster services Windows terminal services OVERVIEW.
Chris Shuster 4/29/2009 1Chris Shuster.  Application Servers ◦ Backend processing platform. ◦ Multiple platforms, operating system and architecture.
Java Server Team 8. Overview What is a Java Server? History Architecture Advantages Disadvantages Current Technologies Conclusion.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #12 LSNAT - Load Sharing NAT (RFC 2391)
© 2004 IBM Corporation BEA WebLogic Server Introduction and Training.
Load Sharing and Balancing - Saravanan Mathialagan Masters in Computer Science Georgia State University.
Web Cache. Introduction what is web cache?  Introducing proxy servers at certain points in the network that serve in caching Web documents for faster.
Installing and Maintaining ISA Server. Planning an ISA Server Deployment Understand the current network infrastructure Review company security policies.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
N-Tier Architecture.
10/02/2004ELFms meeting1 Linux Virtual Server Miroslav Siket FIO-FS.
Additional SugarCRM details for complete, functional, and portable deployment.
Active Network Applications Tom Anderson University of Washington.
1 Oracle 9i AS Availability and Scalability Margaret H. Mei Senior Product Manager, ST.
Server Load Balancing. Introduction Why is load balancing of servers needed? If there is only one web server responding to all the incoming HTTP requests.
SANGFOR AD INTRODUCTION
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
1 Chapter 6: Proxy Server in Internet and Intranet Designs Designs That Include Proxy Server Essential Proxy Server Design Concepts Data Protection in.
LOAD SHARING and LOAD BALANCING Gayathri V.R. Kunapuli S
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
Scalable Web Server on Heterogeneous Cluster CHEN Ge.
Presentation: SOAP/WS in a distributed object framework, Application Servers & AXIS SOAP.
Clustering and Load Balancing. Outline Introduction Linux Virtual Server Microsoft load balancing solution.
Presentation: SOAP/WS in a distributed object framework, Application Servers & AXIS SOAP.
FireProof. The Challenge Firewall - the challenge Network security devices Critical gateway to your network Constant service The Challenge.
® IBM Software Group © 2007 IBM Corporation Best Practices for Session Management
1 Installing and Maintaining ISA Server Planning an ISA Server Deployment Understand the current network infrastructure. Review company security.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
DYNAMIC LOAD BALANCING ON WEB-SERVER SYSTEMS by Valeria Cardellini Michele Colajanni Philip S. Yu.
CCNA4 v3 Module 6 v3 CCNA 4 Module 6 JEOPARDY K. Martin.
ITGS Network Architecture. ITGS Network architecture –The way computers are logically organized on a network, and the role each takes. Client/server network.
Virtualization Technology and Microsoft Virtual PC 2007 YOU ARE WELCOME By : Osama Tamimi.
1 Chapter 8: DHCP in IP Configuration Designs Designs That Include DHCP Essential DHCP Design Concepts Configuration Protection in DHCP Designs DHCP Design.
09/13/04 CDA 6506 Network Architecture and Client/Server Computing Peer-to-Peer Computing and Content Distribution Networks by Zornitza Genova Prodanoff.
Draft-carpenter-v6ops-label-balance-02 Brian Carpenter Sheng Jiang (Speaker) Willy Tarreau March 2012 IPv6 Flow Label for Server Load Balancing - update.
Distributed Server Scheduler Eyal Serero Alex Fishgate Supervisor : Vitaly Suchin.
Firewalls. Overview of Firewalls As the name implies, a firewall acts to provide secured access between two networks A firewall may be implemented as.
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
Barracuda Load Balancer
Lab A: Planning an Installation
Understanding Solutions
Scaling Network Load Balancing Clusters
Affinity Depending on the application and client requirements of your Network Load Balancing cluster, you can be required to select an Affinity setting.
N-Tier Architecture.
F5 BIGIP V 9 Training.
CONFIGURING A MICROSOFT EXCHANGE SERVER 2003 INFRASTRUCTURE
Computer Data Security & Privacy
Network Load Balancing Functionality
Network Load Balancing
VIRTUAL SERVERS Presented By: Ravi Joshi IV Year (IT)
Chapter 15: Networking Services Design Optimization
Design Unit 26 Design a small or home office network
SpiraTest/Plan/Team Deployment Considerations
Moodle Scalability What is Scalability?
Network programming Lecture 1 Prepared by: Dr. Osama Mokhtar.
Presentation transcript:

1 Distributed Systems : Server Load Balancing Dr. Sunny Jeong. Mr. Colin Zhang With Thanks to Prof. G. Coulouris, Prof. A.S. Tanenbaum

2 Overview  Server load balancing  Introduction  Basic concepts  Static load balancing  Dynamic load balancing   Load balancing in Java

Introduction  In computer networking, load balancing is a technique to distributed work between many computers, processes, hard disks or other resources in order to get optimal resource utilization and decrease computing time [3].  The function is performed by the load balancers.

Introduction – Understanding the Load Balancer  Server with a load balancer 4

Introduction – Understanding the Load Balancer  An easy example – Router in a call center server  Load Balancer – Software & hardware  Various other functions like Server load balancing Firewall load balancing Transparent cache switching Server protection Fault Tolerance  Load Balancer does not works in the application level

Advanced Concepts  Session Persistence  The mega proxy problem  Delayed binding  Cookie switching

Advanced Concepts - Session Persistence  How application that runs on top of TCP/IP protocol affects the function of load balancer –

Advanced Concepts – the mega proxy problem  Situations where the source IP is not a reliable way to identify a user, due to a proxy server is known as the megaproxy problem

Advanced Concepts  Delayed Binding Delayed binding is this process of delaying the binding of a TCP connection to a server until after the application request is received.  Cookie Switching Reading the cookie information to solve the Mega proxy problem

Static load balancing No consideration of servers and network states, conducting based on preprogrammed server manuals  Round Robin  Server instances called in order  Simple and cheap are the advantages  If one is slow others will be affected  Note: not suitable FTP server (Persistency)  Weight based load balancing  Weighted in scale of depending on the load managed by server  Load distributed accordingly  Priority Group Activation  Use only active server  Stand by server active in needed time only  Easy to maintain 10

Dynamic load balancing React based on servers status and the request from client  Least connection  Fastest response  Least loaded (SNMP agent) 11

Application - Global Server Load Balancing  Domain Naming Service  Positioning the GSLB Not to affect the existing flow Site selection

Application - GSLB  Site selection based on the following [2]  Site health conditions  Site response time  Site Loading time

Application – Web Caching  Caches can be installed and utilized with the Load balancers in the following ways [2]  Forward proxy for client acceleration  Transparent proxy for client acceleration  Reverse proxy for server acceleration  Transparent reverse proxy for server acceleration

Application – Web Caching  Transparent reverse proxy for server acceleration

Load Balancing in Java  Load Balancing for Servlets and JSPs  Load Balancing for EJBs and RMI Objects  Load Balancing for JDBC Connections

Load balancing in Java – Servlets and JSPs  Load Balancing with a Proxy Plug-in  Weblogic proxy plug-in maintains as list of web logic servlet and JSP instances  Forwards the HTTP request to those cached instances in round-robin method  Some webservers and associated proxies  Weblogic server & HTTPClusterServlet  Apache with Apache proxy plug-ins  Microsoft IIS with IIS plugins

Load balancing in Java – EJB’s and RMI’s  The Object instances stored in the stubs  Techniques  Round Robin Load Balancing  Weight-Based Load Balancing  Random Load Balancing

Load balancing in Java – EJB’s and RMI’s  Round Robin Load Balancing  Server instances called in order  Simple and cheap are the advantages  If one is slow others will be affected  Weight based load balancing  Weighted in scale of depending on the load managed by server  Load distributed accordingly  Random Load Balancing  Does not discrete difference in processing and assumes homogenous systems  Overhead in generating random number  simple

Load balancing in Java – JDBC Connection  Load balancing of JDBC connection requires the use of a multipool configured for load balancing. Load balancing support is an option you can choose when configuring a multipool  Multipool has an ordered lit of connection pool that routes the connection  Default the first connection pool if not run in load balancing mode

References Load Balancing in Java load_balancing.html# Other references on load balancing from [2] Load Balancing Servers,Firewalls, and Caches by Chandra Kopparapu S.Mathialagan Georgia State University IBM Technical Report