2/23/2004 Load Balancing February 23, 2004. 2/23/2004 Assignments Work on Registrar Assignment.

Slides:



Advertisements
Similar presentations
Internet Applications INTERNET APPLICATIONS. Internet Applications Domain Name Service Proxy Service Mail Service Web Service.
Advertisements

Replication. Topics r Why Replication? r System Model r Consistency Models r One approach to consistency management and dealing with failures.
ITIS 3110 Jason Watson. Replication methods o Primary/Backup o Master/Slave o Multi-master Load-balancing methods o DNS Round-Robin o Reverse Proxy.
 This Class  Chapter 9  Next Class  Wrap up this semester  Demo/discuss programming assignments  Review what we have learned  Questionnaire/Feedback.
1 Routing and Scheduling in Web Server Clusters. 2 Reference The State of the Art in Locally Distributed Web-server Systems Valeria Cardellini, Emiliano.
Distributed components
The Internet Useful Definitions and Concepts About the Internet.
2/18/2004 Challenges in Building Internet Services February 18, 2004.
20101 The Application Layer Domain Name System Chapter 7.
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts, routers: –IP address (32 bit) - used for addressing datagrams –“name”, e.g., gaia.cs.umass.edu.
Anycast Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
1 Web Content Delivery Reading: Section and COS 461: Computer Networks Spring 2007 (MW 1:30-2:50 in Friend 004) Ioannis Avramopoulos Instructor:
CPSC 441: DNS1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes derived.
1 DNS,NFS & RPC Rizwan Rehman, CCS, DU. Netprog: DNS and name lookups 2 Hostnames IP Addresses are great for computers –IP address includes information.
Caching and Content Distribution Networks. Web Caching r As an example, we use the web to illustrate caching and other related issues browser Web Proxy.
Dynamic Load Balancing on Web-server Systems Valeria Cardellini, Michele Colajanni, and Philip S. Yu Presented by Sui-Yu Wang.
Load Sharing and Balancing - Saravanan Mathialagan Masters in Computer Science Georgia State University.
Intro to Computer Networks DNS (Domain Name System) Bob Bradley The University of Tennessee at Martin.
CSE 461 Section (Week 0x02). Port numbers for applications MAC addresses for hardware IP addresses for a way to send data in a smart, routable way.
Microsoft Load Balancing and Clustering. Outline Introduction Load balancing Clustering.
Electronic Mail Three major components: SMTP user agents mail servers
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
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.
Domain Name System (DNS)
Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.
Redirection and Load Balancing
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 7 The Application Layer.
DNS: Domain Name System
HOW ACCESS TO WWW Student Name : Hussein Alkhaldi.
2: Application Layer1 Internet apps: their protocols and transport protocols Application remote terminal access Web file transfer streaming multimedia.
1 DNS: Domain Name System People: many identifiers: m SSN, name, Passport # Internet hosts, routers: m IP address (32 bit) - used for addressing datagrams.
SAINT ‘01 Proactive DNS Caching: Addressing a Performance Bottleneck Edith Cohen AT&T Labs-Research Haim Kaplan Tel-Aviv University.
Architecture of DNS CS 718 Activity 4 Submitted by Parag Abhyankar Anup S. Kunte
1 Application Layer Lecture 6 Imran Ahmed University of Management & Technology.
1 Distributed Systems : Server Load Balancing Dr. Sunny Jeong. Mr. Colin Zhang With Thanks to Prof. G. Coulouris,
CH2 System models.
Web Page Design I Basic Computer Terms “How the Internet & the World Wide Web (www) Works”
ITIS 1210 Introduction to Web-Based Information Systems Chapter 23 How Web Host Servers Work.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 6: Name Resolution.
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
2: Application Layer1 Chapter 2 outline r 2.1 Principles of app layer protocols r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail r 2.5 DNS r 2.6 Socket.
CH1. Hardware: CPU: Ex: compute server (executes processor-intensive applications for clients), Other servers, such as file servers, do some computation.
Information Flow Across the Internet. What is the Internet? A large group of computers that link together to form the Worldwide Area Network (WAN)
Internet and Intranet Protocols and Applications Lecture 5 Application Protocols: DNS February 20, 2002 Joseph Conron Computer Science Department New York.
CPSC 441: DNS 1. DNS: Domain Name System Internet hosts: m IP address (32 bit) - used for addressing datagrams m “name”, e.g., - used by.
Configuring Name Resolution and Additional Services Lesson 12.
Internet Address and Domain Name Service (DNS)
24. DNS Domain Name System address 1. Name server domain name IP address ftp.cs.mit.eduxx.xx.xx.xx 24.2 Mapping Domain Names To.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
EE 122: Lecture 20 (Domain Name Server - DNS) Ion Stoica Nov 15, 2001 (* based on the some on-line slides of J. Kurose & K. Rose and of Raj Jain)
DYNAMIC LOAD BALANCING ON WEB-SERVER SYSTEMS by Valeria Cardellini Michele Colajanni Philip S. Yu.
DNS DNS overview DNS operation DNS zones. DNS Overview Name to IP address lookup service based on Domain Names Some DNS servers hold name and address.
Net 221D:Computer Networks Fundamentals
Content Distribution Network, Proxy CDN: Distributed Environment
1. Internet hosts:  IP address (32 bit) - used for addressing datagrams  “name”, e.g., ww.yahoo.com - used by humans DNS: provides translation between.
COMP 431 Internet Services & Protocols
Networking (Cont’d). Congestion Control l Is achieved by informing nodes along a route that congestion has occurred and asking them to reduce their packet.
So DNS is A client-server application that maps domain names into their corresponding IP addresses with the help of name servers. Mapping domain names.
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
Ch 2. Application Layer Myungchul Kim
COMPUTER NETWORKS Hwajung Lee. Image Source:
PERFORMANCE MANAGEMENT IMPROVING PERFORMANCE TECHNIQUES Network management system 1.
Understand Names Resolution
Services DFS, DHCP, and WINS are cluster-aware.
Benefits of Using Domain Name System (DNS)
Some bits on how it works
DNS: Domain Name System
Windows Name Resolution
Presentation transcript:

2/23/2004 Load Balancing February 23, 2004

2/23/2004 Assignments Work on Registrar Assignment

2/23/2004 Pieces of the Puzzle Load Balancing Servers Data Store

2/23/2004 Load Balancing Distribute load across multiple servers – why?

2/23/2004 Load Balancing Distribute load across multiple servers – why? –Service more requests per second –Reduce response time –Tolerate failures

2/23/2004 Simple Algorithm Round-robin –N servers –Request 1 goes to server 1 –Request 2 goes to server 2 –… –Request N goes to server N –Request N+1 goes to server 1

2/23/2004 Problems What are some problems with this strategy?

2/23/2004 Goals/Challenges Determining least loaded server Determining closest server Detecting and deflecting requests from failed server Transparency What about user state?

2/23/2004 Strategies DNS-based Dispatcher-based Server-based

2/23/2004 DNS: Domain Name System How do I identify a computer? Hostname –ID for a computer –Examples? IP Address –Why is an IP needed? –Examples? Mapping from hostname to IP address?

2/23/2004 DNS: Domain Name System Name servers –Store hostname to IP mapping –Organized in a hierarchy –Act as a distributed database Application-layer protocol –Defines communication between hosts and name servers

2/23/2004 Usage Scenario Which apps use DNS? HTTP –Browser extracts hostname –Sends hostname to DNS –DNS does lookup and returns IP address –Browser sends HTTP GET to IP address

2/23/2004 Simple DNS Example Host surf.eurecom.fr wants IP address of gaia.cs.umass.edu 1.contacts its local DNS server, dns.eurecom.fr 2.dns.eurecom.fr contacts root name server, if necessary 3.root name server contacts authoritative name server, dns.umass.edu, if necessary requesting host surf.eurecom.fr gaia.cs.umass.edu root name server authorititive name server dns.umass.edu local name server dns.eurecom.fr

2/23/2004 Strategy 1: DNS-based DNS server Web Servers

2/23/2004 Strategy 1: DNS-based Pros –Easy Cons –Simple algorithm may not distribute load best –Slow to deal with failures –Not transparent to client Caching may disrupt algorithm

2/23/2004 Strategy 2: Dispatcher-based Web Servers Load balancing switch

2/23/2004 Strategy 2: Dispatcher-based Pros –Transparent (NAT) –Reacts more quickly to failure –Apply more advanced scheduling algorithms Number of active connections Based on URI (/images, etc) Cons –Bottleneck/single point of failure –New piece of hardware

2/23/2004 Strategy 3: Server-based Web Servers DNS server

2/23/2004 Strategy 3: Server-based Pros –Reacts more quickly to failure –Apply more advanced scheduling algorithms Cons –Not transparent –Increased delay

2/23/2004 Data Replication/Partitioning Replication –All servers can serve all data Partitioning –Servers keep track of specific set of data In reality, both

2/23/2004 Example A-Z A-I J-R S-Z Replication Partitioning

2/23/2004 Consistency All copies of same data should be the same –A change to one means a change to all Performance/consistency tradeoff