CFS: A Distributed File System for Large Scale Container Platforms

Haifeng Liu, Wei Ding, Yuan Chen, Weilong Guo, Shuoran Liu +5 more
11/8/2019
27 citations
cs.DC

Official code: cubefs/cubefs (5,697 stars, Go, Apache-2.0, last commit 2026-10-13).

Abstract

We propose CFS, a distributed file system for large scale container platforms. CFS supports both sequential and random file accesses with optimized storage for both large files and small files, and adopts different replication protocols for different write scenarios to improve the replication performance.

Show full abstract

It employs a metadata subsystem to store and distribute the file metadata across different storage nodes based on the memory usage. This metadata placement strategy avoids the need of data rebalancing during capacity expansion. CFS also provides POSIX-compliant APIs with relaxed semantics and metadata atomicity to improve the system performance. We performed a comprehensive comparison with Ceph, a widely-used distributed file system on container platforms. Our experimental results show that, in testing 7 commonly used metadata operations, CFS gives around 3 times performance boost on average. In addition, CFS exhibits better random-read/write performance in highly concurrent environments with multiple clients and processes.

View on arXivView PDF

Code Implementations(1)

cubefs/cubefsOfficial100%
Apache-2.0

cloud-native distributed storage

5,697720Go, ShellFeb 19, 20191 months agoApache-2.0
ai-native-storagecloud-native-storagecloud-storagecncfdata-orchestration+7 more

Similar Papers

Cite this paper

@article{liu2019cfs,
  title  = {CFS: A Distributed File System for Large Scale Container Platforms},
  author = {Haifeng Liu and Wei Ding and Yuan Chen and Weilong Guo and Shuoran Liu and Tianpeng Li and Mofei Zhang and Jianxing Zhao and Hongyin Zhu and Zhengyi Zhu},
  year   = {2019},
  eprint = {1911.03001},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.03001}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1911.03001.svg)](https://codeofpaper.com/paper/1911.03001)

Discussion