Naming in Distributed Systems Flashcards

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/27

flashcard set

Earn XP

Description and Tags

Flashcards about Naming in Distributed Systems

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

28 Terms

1
New cards

What are the three naming concepts discussed in the lecture?

Flat Naming, Structured Naming, Attribute-based Naming

2
New cards

What are the key elements in naming of distributed systems?

Names, Identifiers, and Addresses

3
New cards

In a distributed system, what is a 'name'?

A string of bits or characters used to refer to an entity.

4
New cards

What is an identifier in a distributed system?

A special name that uniquely identifies an entity.

5
New cards

What are the three properties of a true identifier?

Each identifier refers to at most one entity, each entity is referred to by at most one identifier, and an identifier always refers to the same entity.

6
New cards

What are the goals of naming systems?

Scalable to arbitrary size, have a long lifetime, be highly available, have fault isolation, tolerate mistrust

7
New cards

What are the solutions to the flat naming resolution problem?

Simple solutions (broadcasting), home-based approaches, distributed hash tables (structured P2P), hierarchical location service.

8
New cards

How does broadcasting work in the context of flat naming?

Each entity compares the requested ID with its own ID; the target entity returns its current address.

9
New cards

What is an advantage of using forwarding pointers?

Support for mobile nodes.

10
New cards

How do home-based approaches facilitate communication with mobile entities?

The home agent gives the new location to the client (efficient but not transparent) or forwards the messages (transparent but may not be efficient).

11
New cards

How does a Distributed Hash Table (DHT) resolve a flat ID?

Each node is assigned a random m-bit identifier and every entity is assigned a unique m-bit key; the entity falls under the jurisdiction of the node with the smallest id >= k.

12
New cards

How is key resolution achieved in DHT?

Linearly resolve a key k to the address of succ(k) using neighbors.

13
New cards

How does Chord improve key resolution?

Node p will forward it to node q with index j in Fp where q = FTp[j] <= k < FTp[j+1]

14
New cards

What is the basic idea behind Hierarchical Location Services (HLS)?

Building a large-scale search tree where the underlying network is divided into hierarchical domains.

15
New cards

What is a name space?

A collection of valid names forming a directed graph.

16
New cards

What is name resolution?

Looking up a name by starting at a directory node and following labels until reaching the desired node.

17
New cards

What are the two ways of aliasing in naming graphs?

Hard links and Soft Links

18
New cards

What is mounting in the context of name spaces?

A technique where two or more name spaces can be merged transparently.

19
New cards

What are the three logical layers in a distributed name space?

Global, administrational, and managerial layers.

20
New cards

What are the two ways of name resolution implementation

Iterative and recursive

21
New cards

What makes the Domain Name System scalable?

Partitioned database and caching, replication

22
New cards

What are some common domain names in DNS?

com, edu, gov, mil, net, org, int, and country codes.

23
New cards

What does a zone contain in DNS terms?

Attribute data for names in a domain minus the sub-domains administrated by lower-level authorities

24
New cards

What are the functions of the DNS server?

Getting the IP addresses, mail host, reverse resolution, information on hardware and OS

25
New cards

What is the role of the client in resolution?

Is responsible for detecting delivery of stale data and recovering

26
New cards

What is attribute-based naming?

Looking up entities by means of their attributes.

27
New cards

What are the solutions for expensive lookup operations in directory services?

Combination with traditional structured naming system or DHT-based decentralized implementation.

28
New cards

What does an LDAP directory service consist of?

A set of records where each entry is made up of (Attribute, Value(s)) pairs.