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.

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

Rasool Jalili, OS2, Sem Naming Chapter 4. Rasool Jalili, OS2, Sem Advertisment!! Please inform the students to subscribe to the mailing.
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.
Distributed Systems Principles and Paradigms Chapter 04 Naming.
Naming Technologies within Distributed Systems
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.
Chapter 4  Naming 1 Naming Chapter 4 Chapter 4  Naming 2 Why Naming?  Names are needed to o Identify entities o Share resources o Refer to locations,
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition File-System Interface.
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.
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
1 Naming Names are used to uniquely identify resources/services. Name resolution: process to determine the actual entity that a name refers to. In distributed.
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.
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.
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.
1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz.
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.
Naming CSCI 4780/6780.
COMP 655: Distributed/Operating Systems Summer 2011 Dr. Chunbo Chu Week 5: Naming 10/12/20151Distributed Systems - COMP 655.
Page 110/19/2015 CSE 30341: Operating Systems Principles Chapter 10: File-System Interface  Objectives:  To explain the function of file systems  To.
Naming (1) Chapter 4. Chapter 4 topics What’s in a name? Approaches for naming schemes Directories and location services Distributed garbage collection.
Naming CSCI 4780/6780. Names & Naming System Names have unique importance –Resource sharing –Identifying entities –Location reference Name can be resolved.
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.
1. Outline  Introduction  Different Mechanisms Broadcasting Multicasting Forward Pointers Home-based approach Distributed Hash Tables Hierarchical approaches.
ADVANCED OPERATING SYSTEMS STRUCTURED NAMING BY KANNA KARRI.
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.
Naming CSCI 6900/4900. Mounting Mounting – Merging different namespaces transparently File system example –Directory node of one namespace stores identifier.
Naming CSCI 6900/4900. Names & Naming System Names have unique importance –Resource sharing –Identifying entities –Location reference Name can be resolved.
Naming CSCI 4780/6780. Name Space Implementation Naming service – A service that lets users to add/delete and lookup names In large distributed systems.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Naming Chapter 4. Table of Contents Concepts Locate mobile entities Garbage collection.
Slide 1 Structured Naming. Slide 2 Given Credit Where It Is Due The following slides are borrowed from Dr. Katerina Goseva-Popstojanova at West Virginia.
Understand Names Resolution
Chapter 11: File-System Interface
Distributed Systems CS
Naming Chapter 4.
5.3. Structured Naming Advanced Operating Systems Fall 2017
Lecture 7: Name and Directory Servers
Lecture 7: Name and Directory Servers
Naming (1) Chapter 4.
5.2 FLAT NAMING.
Lecture 8: Name and Directory Servers
Directory Structure A collection of nodes containing information about all files Directory Files F 1 F 2 F 3 F 4 F n Both the directory structure and the.
Distributed Systems CS
Naming in Distributed System
Distributed Systems CS
Distributed Systems CS
Distributed Systems CS
Chapter 10: File-System Interface
Distributed Systems CS
Distributed Systems CS
Distributed Systems CS
Outline Review of Quiz #1 Distributed File Systems 4/20/2019 COP5611.
CORBA Programming B.Ramamurthy Chapter 3 5/2/2019.
Lecture 4: File-System Interface
Presentation transcript:

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.

Naming Entities An entity can be anything An entity can be operated on To operate on an entity we need an access point An access point in a DS is called address An address is a special type of name A name for an entity independent from its address is called location independent A true identifier is a special type of name that uniquely identifies an entity having the properties: - An identifier refers to at most one entity - Each entity is referred to by at most one identifier - An identifier always refers to the same entity Human friendly name is another type of name

Name Spaces Names in a DS are organized in a name space Root node A naming space can be represented as a graph with leaf and directory nodes. Absolute and relative path names are related to a directory node A global name denotes the same entity in the system A local name depends on where the name is being used

Name Space UNIX – directory node file directory leaf node file The general organization of the UNIX file system implementation on a logical disk of contiguous disk blocks.

Linking and Mounting (1) The concept of a symbolic link explained in a naming graph within a single name space.

Linking and Mounting (2) in distributed file system (NFS) Name space A Name space B Mounting remote name spaces through a specific process protocol.

Name Space Distribution (1) An example partitioning of the DNS name space, including Internet-accessible files, into three layers.

Name Space Distribution (2) Item Global Administrational Managerial Geographical scale of network Worldwide Organization Department Total number of nodes Few Many Vast numbers Responsiveness to lookups Seconds Milliseconds Immediate Update propagation Lazy Number of replicas None or few None Is client-side caching applied? Yes Sometimes A comparison between name servers for implementing nodes from a large-scale name space partitioned into a global layer, as an administrational layer, and a managerial layer.

Implementation of Name Resolution The principle of iterative name resolution.

Implementation of Name Resolution The principle of recursive name resolution.

Implementation of Name Resolution The comparison between recursive and iterative name resolution

Naming versus Locating Entities if nodes in managerial layers vary very often… Direct, single level mapping between names and addresses. Two-level mapping using identities. Simple example in LAN : ARP via broadcasting

The principle of forwarding pointers using (proxy, skeleton) pairs. Forwarding Pointers when an entity moves it leaves a reference to its new location Exit item Entry items The principle of forwarding pointers using (proxy, skeleton) pairs.

Home-Based Approaches for mobile entities in large scale networks 1 0,3 2bis 2 4 The principle of Mobile IP (2 tiered case)

Hierarchical Approaches Hierarchical organization of a location service into domains, each having an associated directory node. Each entity in a domain is rapresented by a location record in the directory node. The root node has a location record for each entity.

Hierarchical Approaches An entity may have multiple addresses.If an entity has an address in different leaf domains D1 and D2, then the directory node of the smallest domain containing D1 and D2 will have 2 pointers.

Hierarchical Approaches Looking up a location in a hierarchically organized location service.

Pointer Caches caching in a hierarchical location service supporting mobile entities is not effective pointer caching let the lookup start at the directory of the smallest domainin which a mobile entity moves regularly Caching a reference to a directory node of the lowest-level domain in which an entity will reside most of the time.

Scalability Issues hierarchical location services have bottlenecks at root directory partitioning high level nodes The scalability issues is related to uniformly placing subnodes of a partitioned root node across the network covered by a location service.

The Problem of Unreferenced Objects A graph representing objects containing references to each other Entities that are not directly or indirectly referenced by root nodes have to be removed.

Removing unreferenced entities Reference counting Reference listing Tracing-based garbage collection In a distributed system garbage collection requires network communication