Practice this topic in a realistic system design interview
A local file system manages files on one machine. A distributed file system (DFS) manages files across many machines, but still lets clients use familiar paths.
When an application reads /data/events/2026-05-24.json, that file may actually be split across dozens of storage nodes. The application sees one path. The DFS figures out where the pieces live, reads them, checks them, and handles failures.
Distributed file systems are common in large analytics clusters, high-performance computing (HPC) environments, on-premises storage platforms, and systems that need to read or write huge files using many machines at once.
They are not always the right answer in the cloud. For many cloud workloads, object storage gives similar durability and scale with far less operational work.
This chapter explains how distributed file systems work, why they are built the way they are, and when to choose one.