12-Oct-15Ubiquitous Computing1 Outline Applications –Central Server –Hierarchical –Peer-to-peer.

Slides:



Advertisements
Similar presentations
EECS122 - UCB 1 CS 194: Distributed Systems: Naming Computer Science Division Department of Electrical Engineering and Computer Sciences University of.
Advertisements

Jan 17, 2001CSCI {4,6}900: Ubiquitous Computing1 Announcements.
Web Server Administration
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
1 DNS. 2 BIND DNS –Resolve names to IP address –Resolve IP address to names (reverse DNS) BIND –Berkeley Internet Name Domain system Version 4 is still.
Peer-to-Peer Networks as a Distribution and Publishing Model Jorn De Boever (june 14, 2007)
70-294: MCSE Guide to Microsoft Windows Server 2003 Active Directory, Enhanced Chapter 2: Name Resolution and DNS.
CS162 Operating Systems and Systems Programming Lecture 23 HTTP and Peer-to-Peer Networks April 20, 2011 Ion Stoica
Cis e-commerce -- lecture #6: Content Distribution Networks and P2P (based on notes from Dr Peter McBurney © )
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Domain Name System (DNS) largely based on slides from D. Comer.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
CDNs & Replication Prof. Vern Paxson EE122 Fall 2007 TAs: Lisa Fowler, Daniel Killebrew, Jorge Ortiz.
Application Layer At long last we can ask the question - how does the user interface with the network?
1 Web Content Delivery Reading: Section and COS 461: Computer Networks Spring 2007 (MW 1:30-2:50 in Friend 004) Ioannis Avramopoulos Instructor:
Winter 2005 CMPE 151: Network Administration Clients.
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.
DOMAIN NAME SYSTEM. Introduction  There are several applications that follow client server paradigm.  The client/server programs can be divided into.
Chapter 25 Domain Name System
Domain Name Services Oakton Community College CIS 238.
Name Resolution and DNS. Domain names and IP addresses r People prefer to use easy-to-remember names instead of IP addresses r Domain names are alphanumeric.
Networks Chapter 3. 2 What Is The Internet? It's not a big truck. It's a series of tubes. Ted Stevens, former Alaskan Senator, 6/28/2006 Internet: global.
Lecturer : Ms.Trần Thị Ngọc Hoa Chapter 2 Methods Configuring Name Resolution Methods.
Configuring and Managing the DNS Server Role Lesson 4.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
P2P File Sharing Systems
The Domain Name Service, Etc. Jeff Chase Duke University, Department of Computer Science CPS 212: Distributed Information Systems.
Content Distribution March 8, : Application Layer1.
CS 4396 Computer Networks Lab
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 10 Omar Meqdadi Department of Computer Science and Software Engineering University.
DOMAIN NAME SYSTEM Based on Computer Networks and Internets, Comer CSIT 320 (Blum)1.
Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.
Chapter 16 – DNS. DNS Domain Name Service This service allows client machines to resolve computer names (domain names) to IP addresses DNS works at the.
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Domain names and IP addresses Resolver and name server DNS Name hierarchy Domain name system Domain names Top-level domains Hierarchy of name servers.
DNS: Domain Name System
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
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.
CITA 310 Section 1 Name Resolution (Textbook Chapter 4)
Domain Name System. CONTENTS Definitions. DNS Naming Structure. DNS Components. How DNS Servers work. DNS Organizations. Summary.
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Ch 2. Application Layer Myungchul Kim
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
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.
Domain Name System (DNS). DNS Server Service Overview of Domain Name System What Is a Domain Namespace? Standards for DNS Naming.
Internet Address and Domain Name Service (DNS)
CS 3830 Day 10 Introduction 1-1. Announcements r Quiz #2 this Friday r Program 2 posted yesterday 2: Application Layer 2.
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)
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.
Web Server Administration Chapter 4 Name Resolution.
1. Internet hosts:  IP address (32 bit) - used for addressing datagrams  “name”, e.g., ww.yahoo.com - used by humans DNS: provides translation between.
09/13/04 CDA 6506 Network Architecture and Client/Server Computing Peer-to-Peer Computing and Content Distribution Networks by Zornitza Genova Prodanoff.
COMP 431 Internet Services & Protocols
Internet Naming Service: DNS* Chapter 5. The Name Space The name space is the structure of the DNS database –An inverted tree with the root node at the.
Domain Name System INTRODUCTION to Eng. Yasser Al-eimad
4343 X2 – The Application Layer Tanenbaum Chapter 7.
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
Configuring and Managing the DNS Server Role Lesson 4.
System Administration(SAD622S) Name of Presenter: Shadreck Chitauro Lecturer 18 July 2016 Faculty of Computing and Informatics.
Networking Applications
Chapter 9: Domain Name Servers
IMPLEMENTING NAME RESOLUTION USING DNS
Configuring and Managing the DNS Server Role
Lecture 13: Name Services I CDK
EE 122: Domain Name Server (DNS)
General network terminology Chapter 9.1: DNS
Hints on how to read systems papers Network Applications
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Presentation transcript:

12-Oct-15Ubiquitous Computing1 Outline Applications –Central Server –Hierarchical –Peer-to-peer

12-Oct-15Ubiquitous Computing2 Networked distributed system architectures Central Server based Web servers Hierarchical Services Domain Name System – DNS Peer-to-Peer Systems Napster, gnutella

12-Oct-15Ubiquitous Computing3 Central Server based A central server provides service –Reliability and fault tolerance If server shuts down, then no service –Scalability Performance bottle neck E.g. if everyone accesses Microsoft.com from the east coast (new release of web browser), accesses to Yahoo.com in California might be slow because we share the same link from east coast till Utah (say) –Easy to deploy, administer

12-Oct-15Ubiquitous Computing4 Domain Name Service (DNS) Provides Internet domain name to IP address translation –Domain name translation (uga.edu) –Hostname translation (greenhouse.cs.uga.edu) –Service location (MX records, mail service for UGA) $ nslookup –query=mx home.com home.com preference = 100, mail exchanger = mx-d-rwc.mail.home.com home.com preference = 150, mail exchanger = mx-a-rwc.mail.home.com home.com preference = 100, mail exchanger = mx-c-tx.mail.home.com home.com preference = 150, mail exchanger = mx-a-tx.mail.home.com home.com preference = 175, mail exchanger = mx-a-va.mail.home.com home.com preference = 50, mail exchanger = mx-rr.home.com Hierarchical –Decentralized administration of name space –Hierarchy of authority and trust

12-Oct-15Ubiquitous Computing5 Domain Naming System Hierarchy

12-Oct-15Ubiquitous Computing6 DNS hierarchy.edu duke cs uga cschem arches www (webster) greenhouse eecs berkeley com gov org net firm shop arts web us top-level domains (TLDs) fr generic TLDs country- code TLDs DNS name space is hierarchical: - fully qualified names are “little endian” - scalability - decentralized administration - domains are naming contexts Source: Jeff Chase

12-Oct-15Ubiquitous Computing7 DNS Protocol “lookup DNS server for nhc.noaa.gov local DNS server “ is ” WWW server for nhc.noaa.gov (IP ) UDP-based client/server –client-side resolvers typically in a library gethostbyname, gethostbyaddr –cooperating servers query-answer-referral model forward queries among servers server-to-server may use TCP (“zone transfers”) Source: Jeff Chase

12-Oct-15Ubiquitous Computing8 DNS Name Server Hierarchy.edu duke uga cs ucns chem... DNS servers are organized into a hierarchy that mirrors the name space. Specific servers are designated as authoritative for portions of the name space. com gov org net firm shop arts web us fr Root servers list servers for every TLD. Subdomains correspond to organizational (admininstrative) boundaries, which are not necessarily geographical. Servers may delegate management of subdomains to child name servers. Parents refer subdomain queries to their children. Servers are bootstrapped with pointers to selected peer and parent servers. Resolvers are bootstrapped with pointers to one or more local servers; they issue recursive queries. Source: Jeff Chase

12-Oct-15Ubiquitous Computing9 Server selection problem Which network site? Which server? “Contact the weather service.” server farm A server farm B Avoid the scaleability problems of central servers by "distributing" load Source: Jeff Chase

12-Oct-15Ubiquitous Computing10 DNS round robin “lookup a DNS server for nhc.noaa.gov bcd local DNS server “ is IP address a” (or {b,c,d}) DNS server returns one of multiple addresses based on load e.g. www1.aol.com www2.aol.com Source: Jeff Chase

12-Oct-15Ubiquitous Computing11 DNS record for IN CNAME IN A IN A IN A IN A IN A IN A IN A IN A IN A IN A IN A ;; AUTHORITY SECTION: akadns.net. 984 IN NS ZF.akadns.net. akadns.net. 984 IN NS ZG.akadns.net. akadns.net. 984 IN NS ZH.akadns.net. akadns.net. 984 IN NS ZA.akadns.net. akadns.net. 984 IN NS ZB.akadns.net. akadns.net. 984 IN NS ZC.akadns.net. akadns.net. 984 IN NS ZD.akadns.net. akadns.net. 984 IN NS ZE.akadns.net.

12-Oct-15Ubiquitous Computing12 Internet MCI UUNET Charter Sprint End Users Internet First mile problem Last mile problem

12-Oct-15Ubiquitous Computing13 Performance bottlenecks First mile problem: –Server to the Internet –Everyone wants to access one popular service Last mile problem: –End user to the Internet –Broadband (cable, DSL), T1, T3, dialup, 2G cellular (slow) Peering problem: –Data goes through multiple networks and service providers at peering points Backbone problem: –The information highway for data traffic

12-Oct-15Ubiquitous Computing14 Content delivery network Move server replicas to the edge MCI UUNET Charter Sprint End Users Internet

12-Oct-15Ubiquitous Computing15 Content Delivery Network –CDN (e.g., Akamai) creates new domain names for each client content provider. e.g., a128.g.akamai.net –The CDN’s DNS servers are authoritative for the new domains. –The client content provider modifies its content so that embedded URLs reference the new domains. “Akamaize” content e.g.: becomes –Using multiple domain names for each client allows the CDN to further subdivide the content into groups. DNS sees only the requested domain name, but it can route requests for different domains independently. Source: Jeff Chase

12-Oct-15Ubiquitous Computing16 Akamai with DNS hooks get a DNS server for nhc.noaa.gov b c local DNS server “Akamaizes” its content. “Akamaized” response object has inline URLs for secondary content at a128.g.akamai.net and other Akamai-managed DNS names. akamai.net DNS servers lookup a128.g.akamai.net Akamai servers store/cache secondary content for “Akamaized” services. Source: Jeff Chase

12-Oct-15Ubiquitous Computing17 Peer-to-peer systems Decentralized, no "server" Robust – no single point of failure "Will perform work for others since they will work for us" computing Can scale up Locating resources harder E.g. napster (has a central directory server) gnutella

12-Oct-15Ubiquitous Computing18 Gnutella Queries issued by a servant at a given node propagate out to neighbor nodes The neighbors propage the query to their neighbors, and so on, for a given number of hops. Depending on where a user's query is first issued, it may or may not reach a node that has the file sought by the user.

12-Oct-15Ubiquitous Computing19

12-Oct-15Ubiquitous Computing20 Scalability The scalability of a Gnutella network to accommodate more users performing more searches is limited by the lowest bandwidth links prevalent within the network For dial-up users it is 10 requests per second and has been reached Bottleneck Link