1
1
Name service
Name : identifier
computers, services, remote objects, files, users,
… ….
a fundamental component in distributed systems helps communication and resource sharing.
- URL-form name to access a specific web page.
- The resources shared among several processes have
consistent name used by these processes.
- Users can communicate with each other by their email
addresses.
Another way: attributes Name service
stores a collection of bindings between name
and attributes.
Major operation: resolve a name General requirement: handle an arbitrary
number of names and serve an arbitrary number
- f organizations; a long lifetime; high
availability; fault isolation; tolerance of mistrust
Name space: collection of all valid names.
2
Domain Name System (DNS)
Need a system: Name IP address When the size of Internet was small,
a host file: two columns. Every host store one copy and update it
periodically from a master host file. Impossible for today’s Internet One simple solution: server
Disadvantages: inefficient; unreliable.
Another solution: distribution & replication.
client/server group model
Names are unique Two ways to organize name space
Flat: a name is a sequence of characters without
structure
- cannot be used in a large system such as the Internet.