Naming CSCI 4780/6780.

Slides:



Advertisements
Similar presentations
Chapter 12: File System Implementation
Advertisements

More on File Management
Chapter 4 : File Systems What is a file system?
File Management Chapter 12. File Management A file is a named entity used to save results from a program or provide data to a program. Access control.
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 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.
File Systems Implementation
File Systems Topics –File –Directory –File System Implementation Reference: Chapter 5: File Systems Operating Systems Design and Implementation (Second.
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.
Efficient Storage and Retrieval of Data
6/24/2015B.RamamurthyPage 1 File System B. Ramamurthy.
Topics in Reliable Distributed Systems Fall Dr. Idit Keidar.
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
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.
Index Structures Parin Shah Id:-207. Topics Introduction Structure of B-tree Features of B-tree Applications of B-trees Insertion into B-tree Deletion.
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.
7/15/2015B.RamamurthyPage 1 File System B. Ramamurthy.
Contiguous Allocation of Disk Space. Linked Allocation.
File Systems (1). Readings r Silbershatz et al: 10.1,10.2,
Rensselaer Polytechnic Institute CSCI-4210 – Operating Systems David Goldschmidt, Ph.D.
ICS362 Distributed Systems Dr Ken Cosh Week 5. Review Communication – Fundamentals – Remote Procedure Calls (RPC) – Message Oriented Communication – Stream.
Indexing. Goals: Store large files Support multiple search keys Support efficient insert, delete, and range queries.
1 File Systems Chapter Files 6.2 Directories 6.3 File system implementation 6.4 Example file systems.
Cooperative File System. So far we had… - Consistency BUT… - Availability - Partition tolerance ?
File Systems CSCI What is a file? A file is information that is stored on disks or other external media.
Introduction to DFS. Distributed File Systems A file system whose clients, servers and storage devices are dispersed among the machines of a distributed.
Chapter 16 - File Systems –Persistent storage: storage that will continue to exist after a program that uses or creates it completes. –Sometimes called.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Some basic concepts and information on file systems Portions taken and modified from books by ANDREW S. TANENBAUM.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Computer Science Lecture 19, page 1 CS677: Distributed OS Last Class: Fault tolerance Reliable communication –One-one communication –One-many communication.
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.
1 File Processing : File Organization and File Systems 2015, Spring Pusan National University Ki-Joune Li.
Distributed Systems CS Naming (Cont’d) Lecture 7, Sep 18, 2013 Mohammad Hammoud.
THE FILE SYSTEM Files long-term storage RAM short-term storage Programs, data, and text are all stored in files, which is stored on.
14.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 10 & 11: File-System Interface and Implementation.
Operating Systems 1 K. Salah Module 4.0: File Systems  File is a contiguous logical address space (of related records)  Access Methods  Directory Structure.
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 Topics: 11/29 File System Interface –Files and Directories –Access Methods –Protection –Consistency.
操作系统原理 OPERATING SYSTEMS Chapter 4 File 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.
Computer Science Lecture 19, page 1 CS677: Distributed OS Last Class: Fault tolerance Reliable communication –One-one communication –One-many communication.
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.
File System Implementation
Filesystems.
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.
5.3. Structured Naming Advanced Operating Systems Fall 2017
File Systems Kanwar Gill July 7, 2015.
File Structure 2018, Spring Pusan National University Joon-Seok Kim
5.2 FLAT NAMING.
File System B. Ramamurthy B.Ramamurthy 11/27/2018.
Distributed Systems CS
Distributed Systems CS
Distributed Systems CS
Distributed Systems CS
Chapter 10: File-System Interface
Distributed Systems CS
Presentation transcript:

Naming CSCI 4780/6780

DHT-based Approaches Lookup functionality distributed among multiple nodes Chord – m-bit identifier space (IDs range from 0 to 2m-1) Lookup information on k will be maintained by succ(k) Simple implementation: Node q keeps track of succ(q+1) Finger table for scalable look up q keeps track of succ(q+2i-1) for 0 < i < m

Distributed Hash Table

Hierarchical Approaches Hierarchy of domains Leaf domain – lowest level of the hierarchy Location record for each entity Leaf domain node stores the actual location of the entity Upper level nodes store references to the children that contain the entity Multiple addresses if entity is replicated

Hierarchical Location Service

Location Service for Replicated Entities

Lookup in Hierarchical Location Service

Insertion in Hierarchical Lookup Service

Insertion (Contd.)

Structured Naming Names are organized into name spaces Name space is represented as a directed graph with two types of nodes Leaf Node – Represents named entity No outgoing edges Stores information on the entity it is referring (address or state of the entity) Directory node – Can have multiple outgoing edges each with a name Directory table – Contains <edge label, node ID> for each outgoing edge

A general naming graph with a single root node. Name Spaces - Example A general naming graph with a single root node.

More on Name Spaces Path name: Sequence of edge labels leading from one node to another N:<label-1, label-2 …., label-n> Absolute path name First node is the root Relative path name First node can be arbitrary node Global name Denotes same entity where ever it is used Local name Interpretation is dependent upon where it is used

Organizing Name Spaces Tree-based approach Strict hierarchical approach Directed acyclic graph Most commonly used General graphs Rarely used Single root Multiple root

Name Spaces in Unix File System The general organization of the UNIX file system implementation on a logical disk of contiguous disk blocks.

Name Resolution Process of looking-up an entity given its path name Find the corresponding node Example: N:<label-1, label-2 …. Label-n> Start at N Proceed along the edges A crucial question: Where should the resolution begin? Which node represents the root? Unix example: Which i-node corresponds to the root?

Closure Mechanism Knowing how and where to start resolution mechanism – Closure Have a universally agreed upon root In Unix root directory is the first i-node Actual byte offset is calculated by other values in superblock HOME variable in Unix – always refers to the user’s home directory