SlideShare a Scribd company logo
6
Most read
12
Most read
13
Most read
Distributed File Systems
 File Caching Schemes
 File Replication
 Fault Tolerance
Presented by:
Maurvi Dave (T1013CSE2023)
Pooja Upadhyay(T1013CSE2028)
File caching schemes
Contents
Introduction
Key decisions of file caching schemes
 Cache location
 Modification propagation
Introduction
 To Retain recently accessed files in the main
memory.
 Repeated accesses to the same information can be
handled locally.
 Reduce network traffic
Key decisions
 In implementation of file caching scheme, one has to
make several key decisions
 Like granularity of cached data
 Cache size
 Replacement policy
Cache location
 It refers to the place at where the cached data is
stored.
 Let’s assume original location of a file is on its
server’s disk.
 Three possible cache location:
1) Server’s main memory
2) Client’s disk
3) Client’s main memory
Possible cache locations in file-
caching scheme for DFS
Modification Propagation
 Write-through:
when new user modifies the cache entry it is
immediately written to the server.
 Delayed-write:
To decrease continuous network traffic write all updates
to the server periodically or batch them together.
 Single write operation is efficient then multiple
File replication
 Provide for increase reliability by having independent
backups of each file.
 Enable file access to continue even if one file server
is down.
Advantages of replication
 Improver performance
By distributing workload among multiple servers
 Increase reliability
Copy can be taken from another server if one
crashes
 Availability
By multiple copy of each file on separated servers
Key issue in replication
 Replication Transparency
Not transparent to the user.
Entire process is carry behind programmer’s back.
Replica creation methods
 Three methods
a) Explicit file replication
b) Lazy file replication
c) File replication using group
Explicit file replication
 Entire process controlled by
programmer
 Process makes file on one
server & Make multiple
copies on servers
 Directory server maintain list
of all replicas
 When file is requested, any
one of these copies can be
opened.
Lazy file replication
 Only one copy created
on server & server
makes replication for
other servers.
 System can track all
replicas & retrieve one
copy as required.
File replication using a group
 System call is sent to all
servers
 Replicas are created
when original is made
 All copies are made at
same time.
 Stateful
– Server maintains information about a file opened by a client (e.g.,
file pointer, mode)
– Mechanism: on open, the server provides a “handle” to the client
to use on subsequent operations.
 Stateless
– Server maintains no information about client access to files
– Mechanism: each client operation must provide context
information for that operation
Fault Tolerance
 Stateful service
 Information about file operations are kept in the server during
all the file session.
 A communication channel is established between the
client and the server when a the client explicitly solicits the file
opening.
 A number(identifier) is used to define the communication
channel then this identifier will be used to perform file
operations.
 To attend its clients, the server copies data from the storage
devices to memory and let them there till the file closing.
 Stateless service
 The stateless service does not establish a communication
channel. there is no necessity for explicit file opening and
closing
 Before executing a file operation the server will automatically
open and close the file.
 Each request sent to the server must define the desired file
likewise, if a read or write
 Operation is requested, it must contain the position in the file
referring to the respective operation.
Distributed File Systems

More Related Content

PPTX
Message passing in Distributed Computing Systems
PPTX
Structure of shared memory space
PPT
File models and file accessing models
PPT
message passing
PPTX
Replication in Distributed Systems
PPTX
distributed Computing system model
PPTX
Distributed shared memory ch 5
Message passing in Distributed Computing Systems
Structure of shared memory space
File models and file accessing models
message passing
Replication in Distributed Systems
distributed Computing system model
Distributed shared memory ch 5

What's hot (20)

PPT
Group Communication (Distributed computing)
PDF
CS9222 ADVANCED OPERATING SYSTEMS
PDF
CS9222 ADVANCED OPERATING SYSTEMS
PDF
CS9222 ADVANCED OPERATING SYSTEMS
PPTX
6.distributed shared memory
PPT
Chapter 4 a interprocess communication
PPTX
RPC: Remote procedure call
PPT
Distributed Deadlock Detection.ppt
PPT
Chapter 6-Consistency and Replication.ppt
PPT
Chapter 10 - File System Interface
PPTX
Inter Process Communication
PPT
distributed shared memory
PPTX
Introduction to Distributed System
PPT
Communication primitives
PPT
Chapter 8 distributed file systems
PDF
Resource management
PPTX
Database replication
DOC
Naming in Distributed System
PPTX
Distributed shred memory architecture
PPTX
Distributed dbms architectures
Group Communication (Distributed computing)
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
6.distributed shared memory
Chapter 4 a interprocess communication
RPC: Remote procedure call
Distributed Deadlock Detection.ppt
Chapter 6-Consistency and Replication.ppt
Chapter 10 - File System Interface
Inter Process Communication
distributed shared memory
Introduction to Distributed System
Communication primitives
Chapter 8 distributed file systems
Resource management
Database replication
Naming in Distributed System
Distributed shred memory architecture
Distributed dbms architectures
Ad

Viewers also liked (20)

ODP
Distributed File System
 
PPT
Chapter 17 - Distributed File Systems
PPT
Distributed File Systems
PDF
Introduction to distributed file systems
PPT
3. distributed file system requirements
PDF
Distributed File Systems: An Overview
PPT
4.file service architecture
ODP
Distributed shared memory shyam soni
PPTX
Distributed Shared Memory Systems
PPT
Name services
PPT
Distributed file system
PPT
Distributed Filesystems Review
PPT
Dsm (Distributed computing)
PPTX
Distributed file system
PPT
Chap 4
PDF
Distributed Operating System_1
PPTX
Fault tolerance in distributed systems
PPSX
Foult Tolerence In Distributed System
PDF
Self-Adapting, Energy-Conserving Distributed File Systems
Distributed File System
 
Chapter 17 - Distributed File Systems
Distributed File Systems
Introduction to distributed file systems
3. distributed file system requirements
Distributed File Systems: An Overview
4.file service architecture
Distributed shared memory shyam soni
Distributed Shared Memory Systems
Name services
Distributed file system
Distributed Filesystems Review
Dsm (Distributed computing)
Distributed file system
Chap 4
Distributed Operating System_1
Fault tolerance in distributed systems
Foult Tolerence In Distributed System
Self-Adapting, Energy-Conserving Distributed File Systems
Ad

Similar to Distributed File Systems (20)

PPTX
best presentation ever by tayyab.pptx
PPTX
5.distributed file systems
PDF
CS9222 ADVANCED OPERATING SYSTEMS
PPT
Distributed File System.ppt
PPT
운영체제론 Ch17
PPTX
Distributed file systems chapter 9
PPTX
File service architecture and network file system
PPTX
Dos unit 4
PPTX
a distributed implementation of the classical time-sharing model of a file sy...
PDF
distributes systemss and its power point
PPT
DISTRIBUTED FILE SYSTEM- Design principles, consistency models
PPT
Introduction to distributed file systems
PPTX
Ds
PPTX
Ds
PPT
Chapter-5-DFS.ppt
PPTX
DFS PPT.pptx
PPT
File replication
PPT
Ch16 OS
 
PPT
best presentation ever by tayyab.pptx
5.distributed file systems
CS9222 ADVANCED OPERATING SYSTEMS
Distributed File System.ppt
운영체제론 Ch17
Distributed file systems chapter 9
File service architecture and network file system
Dos unit 4
a distributed implementation of the classical time-sharing model of a file sy...
distributes systemss and its power point
DISTRIBUTED FILE SYSTEM- Design principles, consistency models
Introduction to distributed file systems
Ds
Ds
Chapter-5-DFS.ppt
DFS PPT.pptx
File replication
Ch16 OS
 

Recently uploaded (20)

PDF
A comparative analysis of optical character recognition models for extracting...
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
August Patch Tuesday
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Machine learning based COVID-19 study performance prediction
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPT
Teaching material agriculture food technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
1. Introduction to Computer Programming.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation theory and applications.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
A comparative analysis of optical character recognition models for extracting...
NewMind AI Weekly Chronicles - August'25-Week II
August Patch Tuesday
Per capita expenditure prediction using model stacking based on satellite ima...
Advanced methodologies resolving dimensionality complications for autism neur...
Encapsulation_ Review paper, used for researhc scholars
Group 1 Presentation -Planning and Decision Making .pptx
Machine learning based COVID-19 study performance prediction
OMC Textile Division Presentation 2021.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Teaching material agriculture food technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
1. Introduction to Computer Programming.pptx
Assigned Numbers - 2025 - Bluetooth® Document
Agricultural_Statistics_at_a_Glance_2022_0.pdf
cloud_computing_Infrastucture_as_cloud_p
Diabetes mellitus diagnosis method based random forest with bat algorithm
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation theory and applications.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf

Distributed File Systems

  • 1. Distributed File Systems  File Caching Schemes  File Replication  Fault Tolerance Presented by: Maurvi Dave (T1013CSE2023) Pooja Upadhyay(T1013CSE2028)
  • 2. File caching schemes Contents Introduction Key decisions of file caching schemes  Cache location  Modification propagation
  • 3. Introduction  To Retain recently accessed files in the main memory.  Repeated accesses to the same information can be handled locally.  Reduce network traffic
  • 4. Key decisions  In implementation of file caching scheme, one has to make several key decisions  Like granularity of cached data  Cache size  Replacement policy
  • 5. Cache location  It refers to the place at where the cached data is stored.  Let’s assume original location of a file is on its server’s disk.  Three possible cache location: 1) Server’s main memory 2) Client’s disk 3) Client’s main memory
  • 6. Possible cache locations in file- caching scheme for DFS
  • 7. Modification Propagation  Write-through: when new user modifies the cache entry it is immediately written to the server.  Delayed-write: To decrease continuous network traffic write all updates to the server periodically or batch them together.  Single write operation is efficient then multiple
  • 8. File replication  Provide for increase reliability by having independent backups of each file.  Enable file access to continue even if one file server is down.
  • 9. Advantages of replication  Improver performance By distributing workload among multiple servers  Increase reliability Copy can be taken from another server if one crashes  Availability By multiple copy of each file on separated servers
  • 10. Key issue in replication  Replication Transparency Not transparent to the user. Entire process is carry behind programmer’s back.
  • 11. Replica creation methods  Three methods a) Explicit file replication b) Lazy file replication c) File replication using group
  • 12. Explicit file replication  Entire process controlled by programmer  Process makes file on one server & Make multiple copies on servers  Directory server maintain list of all replicas  When file is requested, any one of these copies can be opened.
  • 13. Lazy file replication  Only one copy created on server & server makes replication for other servers.  System can track all replicas & retrieve one copy as required.
  • 14. File replication using a group  System call is sent to all servers  Replicas are created when original is made  All copies are made at same time.
  • 15.  Stateful – Server maintains information about a file opened by a client (e.g., file pointer, mode) – Mechanism: on open, the server provides a “handle” to the client to use on subsequent operations.  Stateless – Server maintains no information about client access to files – Mechanism: each client operation must provide context information for that operation Fault Tolerance
  • 16.  Stateful service  Information about file operations are kept in the server during all the file session.  A communication channel is established between the client and the server when a the client explicitly solicits the file opening.  A number(identifier) is used to define the communication channel then this identifier will be used to perform file operations.  To attend its clients, the server copies data from the storage devices to memory and let them there till the file closing.
  • 17.  Stateless service  The stateless service does not establish a communication channel. there is no necessity for explicit file opening and closing  Before executing a file operation the server will automatically open and close the file.  Each request sent to the server must define the desired file likewise, if a read or write  Operation is requested, it must contain the position in the file referring to the respective operation.