Docsity

Distributed File Systems - Notes | CS 757, Study notes of Computer Science

Partial preview of the text

Download Distributed File Systems - Notes | CS 757 and more Study notes Computer Science in PDF only on Docsity!

DISTRIBUTED FILE SYSTEMS

and their role in distributed storage

Outline

 Definition

 Goals

 Architectures

 Communication

 Namespaces

 Replication

 Case Study

 Questions

2

Goals of a Distributed File System

 Transparency

 A Distributed File System should allow clients to access remote files in the same way that local files are accessed

 Availability

 Resources should have a high probability of a successful access

 Performance

 Access to resources should be as efficient as possible

4

Transparency Goals

 Access Transparency

 Users should have a uniform way to access the file system

 Location Transparency

 Users should not be aware of where resources are physically located

 Migration Transparency

 Users should not be aware that resources may change physical storage locations

5

Availability Goals

 How can availability be improved?

 Replication  Can help to hide machine failures  Can help to hide network failures (sometimes)  Reliable networks  Reliable servers

7

Performance Goals

 How can performance be improved?

 Server Replication  Server-side Content Replication  Client Caching

8

Communication

 Benefits of using Remote Procedure Call

 It Already Exists and is Proven to Work for Distributed File Systems  Operating System Independence  Network Independence  Transport Protocol Independence

10

Namespaces

 Local Namespace

 The user typically chooses where portions of the distributed file system will be mounted in the local file system  Multiple servers may exists, each with different naming structures

 Global Namespace

 Globally agreed upon namespace hierarchy  Each server can maintain their own naming structure, but there is at least a mapping to a globally agreed structure.  The user typically mounts portions of the distributed file system in a standard location in the local file system.

11

Global Namespace

Image reproduced from [1].

13

Replication

 Distributed File System Benefits

 Performance  Fault Tolerance  Availability

 Common Drawback

 Overhead associated maintaining consistency

14

The Google File System Architecture

 A Single Master

 System Coordination  Metadata

 Chunkservers

 64MB chunks of data

 Clients

 Uses Master to find Data  Uses Chunkservers to get Data

16

The Google File System

Image reproduced from [2].

17

Bigtable Data Model

 Multi-dimensional sparse sorted map (3D Spreadsheet)

(row, column, timestamp) => value

Image reproduced from http://research.yahoo.com/files/6DeanGoogle.pdf

19

Findings

 Key aspects of the Google File System that Google

researchers leveraged for simplicity and

performance in Bigtable

 Data Persistence  Shared Data Access  Architectural Similarities With Distributed Storage Systems

20