Distributed system - Distrubuted file system
Distributed system - Distrubuted file system
Systems
Department of
Computer Science & Engineering
www.cambridge.edu.in
Distributed File Systems
• A file service enables programs to store and access remote
files exactly as they do local ones, allowing users to access
their files from any computer in an intranet.
CiTech, BANGALORE
Characteristics of file systems
CiTech, BANGALORE
File attribute record structure
CiTech, BANGALORE
File System operations
Distributed file system requirements
• Transparency
o Access transparency
o Location transparency
o Mobility transparency
o Performance transparency
o Scaling transparency
• Concurrent file updates
• File replication
CiTech, BANGALORE
Distributed file system requirements
CiTech, BANGALORE
File Service Architecture
CiTech, BANGALORE
File Service Architecture
CiTech, BANGALORE
Flat file service interface
CiTech, BANGALORE
Directory service interface
CiTech, BANGALORE
Name Services
• Name service is a distinct service that is used by client processes to
obtain attributes such as the addresses of resources or objects
when given their names.
• The entities named can be of many types, and they may be
managed by different services.
• For example, name services are often used to hold the addresses
and other details of users, computers, network domains, services
and remote objects.
CiTech, BANGALORE
Names, addresses and other attributes
CiTech, BANGALORE
Names, addresses and other attributes
• Pure names are simply uninterpreted bit patterns.
• Non-pure names contain information about the object that they
name; in particular, they may contain information about the
location of the object.
• Pure names always have to be looked up before they can be of any
use.
• At the other extreme from a pure name is an object’s address: a
value that identifies the location of the object rather than the
object itself.
• Addresses are efficient for accessing objects, but objects can
sometimes be relocated, so addresses are inadequate as a means
of identification.
CiTech, BANGALORE
Names and services
• Many of the names used in a distributed system are specific to
some particular service.
For example, users of the social networking web site twitter.com,
have names such as @magmapoetry that no other service resolves.
• Names are also sometimes needed to refer to entities in a
distributed system that are beyond the scope of any single service.
The major examples of these entities are users (with proper names
and email addresses), computers (with hostnames) and services
themselves (such as file service or printer service).
CiTech, BANGALORE
Uniform Resource Identifiers
• Uniform Resource Identifiers (URIs) came about from the need to
identify resources on the Web, and other Internet resources such
as electronic mailboxes.
• URIs are ‘uniform’ in that their syntax incorporates that of
indefinitely many individual types of resource identifiers (that is,
URI schemes), and there are procedures for managing the global
namespace of schemes.
• The advantage of uniformity is that it eases the process of
introducing new types of identifier, as well as using existing types
of identifier in new contexts, without disrupting existing usage.
CiTech, BANGALORE
Uniform Resource Locators
• The familiar term Uniform Resource Locator (URL) is often used for
URIs that provide location information and specify the method for
accessing the resource.
• For example, http://www.cdk5.net/ identifies a web page at the
given path (‘/’) on the host www.cdk5.net, and specifies that the
HTTP protocol be used to access it.
Another example is a ‘mailto’ URL, such as
mailto:[email protected], which identifies the mailbox at the
given address.
CiTech, BANGALORE
Uniform Resource Locators
• URLs are efficient identifiers for accessing resources. But they
suffer from the disadvantage that if a resource is deleted or if it
moves, say from one web site to another, there may be dangling
links to the resource containing the old URL
CiTech, BANGALORE
Uniform Resource Names
• Uniform Resource Names (URNs) are URIs that are used as pure
resource names rather than locators. For example, the URI:
mid:[email protected]
CiTech, BANGALORE
Name Service
The process of locating naming data from more than one name server
in order to resolve a name is called navigation.
• Iterative Navigation
• Multicast Navigation
• Non-recursive and Recursive Server-controlled Navigation.
Iterative Navigation
Non-recursive Server-controlled Navigation
CiTech, BANGALORE
Recursive Server-controlled Navigation
CiTech, BANGALORE
The Domain Name System
CiTech, BANGALORE
Domain names
The original top-level organizational domains (also called generic
domains) in use across the Internet were:
CiTech, BANGALORE
Domain names
In addition, every country has its own domains:
us – United States
uk – United Kingdom
fr – France
... – ...
CiTech, BANGALORE