Naming Chapter 5. n Most of the lecture notes are based on slides by Prof. Jalal Y. Kawash at Univ. of Calgary n Some slides are from Brennen Reynolds.

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

Media Access Control (MAC) addresses in the network access layer ▫ Associated w/ network interface card (NIC) ▫ 48 bits or 64 bits IP addresses for the.
Dr. Kalpakis CMSC621 Advanced Operating Systems Naming.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved Naming (2) DISTRIBUTED.
Naming Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014.
Naming Chapter 4. Names, Addresses, and Identifiers Name: String (of bits/characters) that refers to an entity (e.g. process, file, device, …) Access.
Naming in Distributed System Presented by Faraz Rasheed & Uzair Ahmed RealTime & Multimedia Lab Kyung Hee University, Korea.
The implementation of a name space
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Computer Science Lecture 9, page 1 CS677: Distributed OS Today: Naming Names are used to share resources, uniquely identify entities and refer to locations.
Naming Names in computer systems are used to share resources, to uniquely identify entities, to refer to locations and so on. An important issue with naming.
NamingCS-4513, D-Term Naming CS-4513 Distributed Computing Systems (Slides include materials from Operating System Concepts, 7 th ed., by Silbershatz,
Distributed Systems CS Naming – Part II Lecture 6, Sep 26, 2011 Majd F. Sakr, Vinay Kolar, Mohammad Hammoud.
Domain Name System: DNS
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
NamingCS-4513, D-Term Naming CS-4513 Distributed Computing Systems (Slides include materials from Operating System Concepts, 7 th ed., by Silbershatz,
Distributed Systems Naming Chapter 5.
Naming Names in computer systems are used to share resources, to uniquely identify entities, to refer to locations and so on. An important issue with naming.
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 25 Domain Name System
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
Distributed Computing COEN 317 DC2: Naming, part 1.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved Chapter 5 Naming.
ICS362 Distributed Systems Dr Ken Cosh Week 5. Review Communication – Fundamentals – Remote Procedure Calls (RPC) – Message Oriented Communication – Stream.
Computer Science Lecture 9, page 1 CS677: Distributed OS Today: Naming Names are used to share resources, uniquely identify entities and refer to locations.
Chapter 17 Domain Name System
5.1 Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED.
Naming Chapter 4. Name Spaces (1) A general naming graph with a single root node.
Naming Chapter 4.
Distributed Computing COEN 317 DC2: Naming, part 1.
Naming CSCI 4780/6780.
Naming CSCI 4780/6780. Names & Naming System Names have unique importance –Resource sharing –Identifying entities –Location reference Name can be resolved.
6. Naming (name services)
1 Kyung Hee University Chapter 18 Domain Name System.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Peer to Peer A Survey and comparison of peer-to-peer overlay network schemes And so on… Chulhyun Park
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
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)
1. Outline  Introduction  Different Mechanisms Broadcasting Multicasting Forward Pointers Home-based approach Distributed Hash Tables Hierarchical approaches.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Lecture 9: Name and Directory Servers CDK4: Chapter 9 CDK5: Chapter 13 TVS: Chapter 5.
Naming CSCI 6900/4900. Names & Naming System Names have unique importance –Resource sharing –Identifying entities –Location reference Name can be resolved.
Chapter 5 Naming (I) Speaker : Jyun-Yao Huang 1 Application and Practice of Distributed Systems.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Chapter 25 Domain Name System.
Distributed Systems CS
Working at a Small-to-Medium Business or ISP – Chapter 7
Naming Chapter 4.
Naming A name in a distributed system is a string of bits or characters used to refer to an entity. To resolve name a naming system is needed.
Net 323 D: Networks Protocols
Working at a Small-to-Medium Business or ISP – Chapter 7
Lecture 7: Name and Directory Servers
Distributed Systems CS
Lecture 7: Name and Directory Servers
Working at a Small-to-Medium Business or ISP – Chapter 7
5.2 FLAT NAMING.
Naming Chapter - 5 Presenter: Venkatesh Javvaji
Distributed Systems CS
Lecture 8: Name and Directory Servers
Names, Identifiers and Addresses
Naming in Distributed System
Chapter 25 Domain Name System
Distributed Systems CS
Distributed Systems CS
Chapter 25 Domain Name System
CORBA Programming B.Ramamurthy Chapter 3 5/2/2019.
Presentation transcript:

Naming Chapter 5

n Most of the lecture notes are based on slides by Prof. Jalal Y. Kawash at Univ. of Calgary n Some slides are from Brennen Reynolds at University of California, Davis n I have modified them and added new slides Giving credit where credit is due: CSCE455/855 Distributed Operating Systems

Names (1) l Name: a string of bits or characters l Why we need names in a computer system? n To refer to and operate on entities such as hosts, printers, disks, and files etc. l To operate on an entity, we need to access it n i.e., to obtain an entity’s access points (addresses) u for example, the following are my access points: (402) u for a running server process, its transport-level address (IP address, port number) serves as its access point

Names (2) l How about use an address as the name to refer to an entity? n Use ( , TCP port 21) to refer to our dept. ftp service? n Use (402) 472 – 5793 to refer to me?

Names (3) l Using address to refer to an entity is n Inflexible, human unfriendly, subject to changes u an entity changes address, address reassigned to another entity n An entity has more than one address (access point), which one to use as a reference? l Easier and more flexible to use location independent names

A Special Type of Name: Identifier l An identifier refers to at most one entity l Each entity is referred to by at most one identifier l An identifier always refers to the same entity (prohibits reusing an identifier) l What could serve as a person’s identifier?

Name Types Identifier –unambiguously refers to an entity Address –access point Human Friendly Name –a name tailored to be used by humans, often a character string

What is a Naming System Name system maintains a name-to-address binding to resolve name (or identifier) to address The implementation of naming systems in distributed and non-distributed systems are quite different –Say, how to locate a process in a uniprocessor system?

Naming Systems Part I: Flat Naming –Resolves identifiers to addresses Part II: Structured Naming –Resolves structured human-friendly names to addresses Part III: Attributed-based Naming –Resolves descriptive names to addresses

Flat Naming Simple Solutions –Broadcasting –Forwarding pointers Home-based Solutions Hierarchical Solutions Distributed Hash Tables

Broadcasting (I) Entity(A) Need Address for Entity(A) Reply to Request Address of Entity(A) IGNORE Request Internet ARP: Network IP addresses  data-link MAC addresses

Broadcasting (II) Broadcasting is not suitable for larger networks –Bandwidth is wasted –Hosts are interrupted for no reason

Forwarding Pointers A popular method to locate mobile entities When an entity moves from A to B, it leaves a pointer to B at A Simple: use traditional naming service to locate A, then follow the pointer chain Example: postal service –One person moves from Florida  Virginia

Forwarding Pointers Figure 5-1. The principle of forwarding pointers using (client stub, server stub) pairs.

Forwarding Pointers Expensive if chain gets too large Lost pointer?

Forwarding Pointers Figure 5-2. Redirecting a forwarding pointer by storing a shortcut in a client stub.

Forwarding Pointers Figure 5-2. Redirecting a forwarding pointer by storing a shortcut in a client stub.

Comparison Broadcasting: –Scalability problems –Efficiency problems in large scale systems Forwarding Pointers: –Geographical scalability problems Long chains: performance problem Prone to failure

Home-Based Approaches Home-location: popular for supporting mobile entities in large-scale networks Keeps track of the current location

Mobile IP Assign a fixed IP (home location) to a mobile host Contact host through home location

Flat Naming Simple Solutions –Broadcasting –Forwarding pointers Home-based Solutions Hierarchical Solutions Distributed Hash Tables

Hierarchical Approaches Hierarchical organization of a location service into domains, each having an associated directory node.

Hierarchical Approaches – Lookup Operation Looking up a location in a hierarchically organized location service.

Hierarchical Approaches – Update Operation a)An insert request is forwarded to the first node that knows about entity E. b)A chain of forwarding pointers to the leaf node is created.

Hierarchical Approaches – Replicating Entities An example of storing information of an entity having two addresses in different leaf domains.

Hierarchical Approaches – Delete Operation Delete a replica of entry E?

Hierarchical Approaches – Delete Operation Delete Replica R of Entity E from domain D Delete pointer from dir(D) to R If location record of E at dir(D) is empty, delete record Apply recursively, going up the tree