1 A Comparison of Load Balancing Techniques for Scalable Web Servers Haakon Bryhni, University of Oslo Espen Klovning and Øivind Kure, Telenor Reserch.

Slides:



Advertisements
Similar presentations
1 Network Address Translation (NAT) Relates to Lab 7. Module about private networks and NAT.
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
CSE331: Introduction to Networks and Security Lecture 8 Fall 2002.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers Part 2.
Latency-sensitive hashing for collaborative Web caching Presented by: Xin Qi Yong Yang 09/04/2002.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
1 Internet Networking Spring 2004 Tutorial 13 LSNAT - Load Sharing NAT (RFC 2391)
EEC-484/584 Computer Networks Lecture 6 Wenbing Zhao
1 Network Address Translation (NAT) Relates to Lab 7. Module about private networks and NAT.
Locality-Aware Request Distribution in Cluster-based Network Servers 1. Introduction and Motivation --- Why have this idea? 2. Strategies --- How to implement?
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
1 Web Proxies Dr. Rocky K. C. Chang 6 November 2005.
Introduction To Networking
Chapter 9 Caching, NAT Professor Rick Han University of Colorado at Boulder
Lesson 1: Configuring Network Load Balancing
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #12 LSNAT - Load Sharing NAT (RFC 2391)
1 ENHANCHING THE WEB’S INFRASTUCTURE: FROM CACHING TO REPLICATION ECE 7995 Presented By: Pooja Swami and Usha Parashetti.
Dynamic Load Balancing on Web-server Systems Valeria Cardellini, Michele Colajanni, and Philip S. Yu Presented by Sui-Yu Wang.
Locality-Aware Request Distribution in Cluster-based Network Servers Presented by: Kevin Boos Authors: Vivek S. Pai, Mohit Aron, et al. Rice University.
(part 3).  Switches, also known as switching hubs, have become an increasingly important part of our networking today, because when working with hubs,
1 Enabling Secure Internet Access with ISA Server.
Virtual LANs. VLAN introduction VLANs logically segment switched networks based on the functions, project teams, or applications of the organization regardless.
Module 1: Reviewing the Suite of TCP/IP Protocols.
Chap 10 Routing and Addressing Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
Networking : Subnets COMP3. IP Addressing Within a Network Each node within a network must be uniquely identified Identification makes use of an IP address.
Terralite Solutions.  TCP/IP setting for communications  Subscription  Unicast  Multicast  UDP  Communications troubleshooting.
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.
Redirection and Load Balancing
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
DNS (Domain Name System) Protocol On the Internet, the DNS associates various sorts of information with domain names. A domain name is a meaningful and.
© MMII JW RyderCS 428 Computer Networking1 Private Network Interconnection  VPN - Virtual Private Networks  NAT - Network Address Translation  Describe.
1 Chapter 6: Proxy Server in Internet and Intranet Designs Designs That Include Proxy Server Essential Proxy Server Design Concepts Data Protection in.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Examining TCP/IP.
Module 4: Planning, Optimizing, and Troubleshooting DHCP
1 Chapter 12: VPN Connectivity in Remote Access Designs Designs That Include VPN Remote Access Essential VPN Remote Access Design Concepts Data Protection.
1 Chapter 7: NAT in Internet and Intranet Designs Designs That Include NAT Essential NAT Design Concepts Data Protection in NAT Designs NAT Design Optimization.
Module 11: Implementing ISA Server 2004 Enterprise Edition.
Web Cache Redirection using a Layer-4 switch: Architecture, issues, tradeoffs, and trends Shirish Sathaye Vice-President of Engineering.
1 CS 4396 Computer Networks Lab TCP/IP Networking An Example.
Presented by Rebecca Meinhold But How Does the Internet Work?
DYNAMIC LOAD BALANCING ON WEB-SERVER SYSTEMS by Valeria Cardellini Michele Colajanni Philip S. Yu.
Setup and Management for the CacheRaQ. Confidential, Page 2 Cache Installation Outline – Setup & Wizard – Cache Configurations –ICP.
Chapter 4 Version 1 Virtual LANs. Introduction By default, switches forward broadcasts, this means that all segments connected to a switch are in one.
CS 6401 Overlay Networks Outline Overlay networks overview Routing overlays Resilient Overlay Networks Content Distribution Networks.
Network Layer: Address Mapping, Error Reporting, and Multicasting
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
Also known as hardware/physi cal address Customer Computer (Client) Internet Service Provider (ISP) MAC Address Each Computer has: Given by NIC card.
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
Services DFS, DHCP, and WINS are cluster-aware.
Network Address Translation (NAT)
Network Tools and Utilities
Network Address Translation
Prepared By : Pina Chhatrala
Mohammad Malli Chadi Barakat, Walid Dabbous Alcatel meeting
Network Load Balancing
VIRTUAL SERVERS Presented By: Ravi Joshi IV Year (IT)
Network Address Translation (NAT)
Ken Gunnells, Ph.D. - Networking Paul Crigler - Programming
Virtual LANs.
Net 323: NETWORK Protocols
Chapter 5 Network and Transport Layers
SPEAKER: Yu-Shan Chou ADVISOR: DR. Kai-Wei Ke
Chapter 10 IGMP Prof. Choong Seon HONG.
Computer Networks ARP and RARP
Network Address Translation (NAT)
Presentation transcript:

1 A Comparison of Load Balancing Techniques for Scalable Web Servers Haakon Bryhni, University of Oslo Espen Klovning and Øivind Kure, Telenor Reserch and Development

2 Introduction In retrieving an object from the Web, a canonical name must be mapped to an IP address, a MAC address and an object locator. Each remapping offers an opportunity to redirect the request to the most appropriate machine from a load balancing viewpoint

3 Introduction

4 The aim of this article is to compare and evaluate different load balancing algorithms for scalable Web servers. –Round-Robin –Connections –Round-trip –Xmitbyte

5 Remapping in the Client The DNS system provides a distributed database for mapping between CNAME and IP addresses These name servers can transparently return the IP address of the available Web servers in the list in a round robin manner. Due to the caching strategies with a configurable time to live (TTL) used throughout the Internet in the DNS, performance is influenced by the spatial and temporal distribution of access.

6 Remapping in the Client Requests from end systems in the same domain will be directed to the same destination since the remote name serer will cache the CANME-to-IP-address mapping. This mapping is reported by the rotating name server at the first request, and is cached by the name server in the client’s local domain

7 Remapping in the Network Remapping at network layer Remapping is done between the network layer and link layer

8 Remapping at network layer Each replicated server has a unique IP address All IP packets destined for a logical server are inspected, and the destination address is replaced with the address of the replicated server with the lowest load. Figure 3

9 Remapping at network layer

10 Remapping at network layer Disadvantage –The destination IP address is modified, modifying the IP datagram cyclic redundancy check (CRC) checksum field and IP TTL field incur additional processing cost

11 Remapping between the network and link layers All replicated servers have the same IP address as the logical server Server assignment is done when the IP address is mapped to a link address Each replicated server has a unique link address ( MAC address or port number )

12 Remapping between the network and link layers Advantage –IP packets do not have to be modified Disadvantage –All replicated servers must be on the same subnet

13 Load Balancing Algorithms Round-robin approach –It distributes requests to the different Web servers in a round-robin manner independent of the load on each Web server –Overload a Web server is possible if the sequence of requests is non-optimal

14 Load Balancing Algorithms Connections –It keep tracks of the number of active connections to each server and always directs a new connection to the server with least connections –If two or more servers have the same number of active connections, the load balancer will choose the server with the lowest server identifier ( the servers are numbered )

15 Load Balancing Algorithms Round-trip scheme –It monitors the request/response phase of each connection by monitoring the TCP protocol. –For each connection, the elapsed time between forwarding the first byte of the request to the server and the first byte of the response to the client is calculated

16 Load Balancing Algorithms Round-trip scheme –The mean elapsed time of all connections during an averaging window (default value is set to 1 s) is calculated –At the end of the averaging window, the calculated average will be reset. –If the mean elapsed time of several servers is the same, the server with the fewest active connections is chosen

17 Load Balancing Algorithms Xmitbyte –It uses an averaging window as in the round- trip scheme –It keeps track of the amount of transmitted bytes from each Web server since the last averaging reset –It chooses the server with the fewest active connections, in case two or more servers have transmitted the same number of bytes

18 Performance Evaluation by Simulation The remapping element and Web servers are connected using a 155Mb.s ATM LAN The configurable connection speed to the Web clients is set to 2Mb/s Figure 4.

19 Performance Evaluation by Simulation

20 The Simulation Method Trace-driven simulation The simulation here are based on several 24-hr traces from the proxy server if a large ISP in Norway. In addition, the simulation was run with traces from a Web server at the University of Oslo Department of Informatics

21 Load Balancing with a Rotating Name Server Caching in the DNS system will remember CNAME-to-IP mapping such that request coming from the same domain will go to the same server. In our trace-driven simulator, we can observe the skewed load

22 Load Balancing with a Rotating Name Server The rotating naming server with TTL = 1 hr gives connection loads ranging from 10.7 to 15.8 percent with 8 servers. If the TTL value is larger, the load is further skewed. A TTL of 24 hr, gives connection loads ranging from 8.1 to 18.5 percent form the same trace.

23 Load Balancing with a Rotating Name Server A smaller TTL value improves the load balancing. However, there is a lower threshold on the TTL value, since DNS traffic increases with lower TTL values. Another observation is that the more servers are used in the cluster, the more uneven the load balancing becomes.

24 Load Balancing in a Remapping Network Element In our simulation, the round-robin policy provides good load sharing combined with the lowest average response time