Naming Entities
Naming Entities
Naming Entities
A name in a distributed system is a string of bits
Human-friendly names
Location-independent name: a name that is independent
from its addresses
2
name spaces
Global
Administrational
Managerial
Worldwide
Organization
Department
Few
Many
Vast numbers
Responsiveness to lookups
Seconds
Milliseconds
Immediate
Update propagation
Lazy
Immediate
Immediate
Number of replicas
Many
None or few
None
Yes
Yes
Sometimes
11
12
13
Should resolve
Looks up
Passes to
child
Receives and
caches
Returns to
requester
cs
<ftp>
#<ftp>
--
--
#<ftp>
vu
<cs,ftp>
#<cs>
<ftp>
#<ftp>
#<cs>
#<cs, ftp>
ni
<vu,cs,ftp>
#<vu>
<cs,ftp>
#<cs>
#<cs,ftp>
#<vu>
#<vu,cs>
#<vu,cs,ftp>
root
<ni,vu,cs,ftp>
#<nl>
<vu,cs,ftp>
#<vu>
#<vu,cs>
#<vu,cs,ftp>
#<nl>
#<nl,vu>
#<nl,vu,cs>
#<nl,vu,cs,ftp>
16
Associated
entity
Description
SOA
Zone
Host
MX
Domain
SRV
Domain
NS
Zone
CNAME
Node
PTR
Host
HINFO
Host
TXT
Any kind
17
18
Record type
Record value
cs.vu.nl
NS
solo.cs.vu.nl
solo.cs.vu.nl
130.37.21.1
19
value) pairs
Lookup operations
10
Abbr.
Value
Country
NL
Locality
Amsterdam
Organization
Vrije Universiteit
OrganizationalUnit
OU
CommonName
CN
Main server
Mail_Servers
--
130.37.24.6, 192.31.231,192.31.231.66
FTP_Server
--
130.37.21.11
WWW_Server
--
130.37.21.11
22
11
Value
Attribute
Value
Country
NL
Country
NL
Locality
Amsterdam
Locality
Amsterdam
Organization
Vrije Universiteit
Organization
Vrije Universiteit
OrganizationalUnit
OrganizationalUnit
CommonName
Main server
CommonName
Main server
Host_Name
star
Host_Name
zephyr
Host_Address
192.31.231.42
Host_Address
192.31.231.66
23
X.500 implementation
Similar to DNS
12
Two choices
a)
b)
13
Locating Entities
Simple Solutions that work in a LAN environment
Forwarding pointers
When an entity moves from A to B, it leaves behind a
reference to its new location at B
Home-based Approaches
Hierarchical Approaches
27
skeleton) pairs.
28
14
29
Home-Based Approaches
30
15
16
33
a)
b)
17
35
36
18
Scalability Issues
37
19