Distributed Systems 15 Mark Q6 To Q10
Distributed Systems 15 Mark Q6 To Q10
A Distributed File System (DFS) allows users to access and manage files stored on multiple networked
computers as if they were on a local system. It enables data sharing, fault tolerance, and scalability.
Working:
- Client-server architecture
- Caching
- Naming service
- Replication
Features:
- Fault tolerance
- Scalability
- Security
- Concurrency
Applications:
- OS-level integration
File Models:
Access Models:
Distributed Systems - 15 Mark Answers
- Remote service
- Upload/download
- Caching
- Immutable
Replication:
- Primary-backup
- Multi-primary
- Read-only
Caching stores frequently accessed files at the client-side for faster access and less network usage.
Working:
- File/block-level
- Write-through or write-back
Consistency:
- Server-initiated
- Client validation
- Lease-based
Advantages:
- Faster access
- Offline access
- Bandwidth savings
Disadvantages:
Distributed Systems - 15 Mark Answers
- Stale data
- Complex consistency
- Storage overhead
- Write conflicts
9. NFS vs AFS
NFS:
- Developed by Sun
- Stateless protocol
- Client-server model
- Limited consistency
AFS:
- Developed by CMU
- Callback consistency
- High scalability
Comparison:
HDFS:
MapReduce:
Comparison: