Naming Unit 2 - Merged
Naming Unit 2 - Merged
Names
What is a name?
A name is something that refers to an entity
A string, a sequence of symbols, . . .
Defining the set of the admissible names determines how we can
speak about the system
Entities
Access point
A special sort of entity in distributed systems
used to access an entity
like, the cell phone to access yourselves
Entities
Access point
A special sort of entity in distributed systems
used to access an entity
like, the cell phone to access yourselves
Addresses
Addresses
Identifiers
Identifiers
Human-friendly Names
Examples
The simplest case: name-to-address binding, with a table of
hname, addressi pairs
← Problem: a centralised table does not work in large networks
The DNS case: hierarchical composition
→ www.apice.unibo.it hierarchically resolved through a recursive
lookup
Examples
The simplest case: name-to-address binding, with a table of
hname, addressi pairs
← Problem: a centralised table does not work in large networks
The DNS case: hierarchical composition
→ www.apice.unibo.it hierarchically resolved through a recursive
lookup
Outline
1 Basics
4 Attribute-based Naming
Flat Naming
Basic Idea
A name is just a flat sequence of chars / symbols
Works in LANs
Examples
Broadcasting: messages containing the identifier of the target entity
is sent to everyone, only the machine containing the entity responds
Example: ARP (Address Resolution Protocol)
Problem: inefficient when the network grows
Multicasting: only a restricted group of hosts receives the request
Example: data-link level in Ethernet networks
Flat Naming
Basic Idea
A name is just a flat sequence of chars / symbols
Works in LANs
Examples
Broadcasting: messages containing the identifier of the target entity
is sent to everyone, only the machine containing the entity responds
Example: ARP (Address Resolution Protocol)
Problem: inefficient when the network grows
Multicasting: only a restricted group of hosts receives the request
Example: data-link level in Ethernet networks
Structured Naming
Basic Idea
Flat names are good for machines, not for humans
Structured names are composed by simple human-readable names –
thus matching the natural limitations of human cognition
Example
Internet name space
Structured Naming
Basic Idea
Flat names are good for machines, not for humans
Structured names are composed by simple human-readable names –
thus matching the natural limitations of human cognition
Example
Internet name space
Name Spaces
Basic Idea
Names are organised hierarchically, according to a labelled, directed
graph – a naming graph
Leaf nodes represent named entities
Directory nodes have a number of outgoing edges, each labelled with
an identifier
Resource Records
Outline
1 Basics
4 Attribute-based Naming
Attribute-based Naming
Description as pairs
Many way to describe an entity could be used
Most popular: a collection of hattribute, valuei pairs associated to an
entity to describe it
Attribute-based naming
Attribute-based Naming
Description as pairs
Many way to describe an entity could be used
Most popular: a collection of hattribute, valuei pairs associated to an
entity to describe it
Attribute-based naming
Hierarchical Implementations I
Hierarchical Implementations II
Hierarchical Implementations IV
Summing Up