FastCFS is a general distributed file system with strong consistency, high performance, high availability and supporting 10 billion massive files.
FastCFS can be used as the back-end storage of databases (MySQL, PostgreSQL, Oracle etc.), K8s, KVM, FTP, SMB and NFS.
Main Features
High performance on the premise of strong data consistency: performance is more better than ceph
Fully compatible with POSIX, supporting file lock and 10 billion massive files
High availability: no single point & automatic failover
Easy to use:
simple and efficient architecture and native implementation
independent of third-party components
built-in operation and maintenance tools
Strong random write performance: FCFS allocates space based on the trunk file, converts random writes from the client to sequential writes
Classical Application Scene
Database: supports two storage methods (conventional exclusive data and high-level shared data) and database cloudification
File Storage: documents, pictures, videos, etc., FastCFS is easier to integrate with general software than the object storage
Unified Storage: database and file storage share a storage cluster, which significantly improves the utilization of storage resources
High Performance Computing: FastCFS with high reliability and high performance is naturally suitable for the HPC scene
Video monitoring: smooth writing for multi-channel videos with HDD such as SATA because FastCFS uses sequential writing approach
2. Current Version: V5.5.3
3. Supported Platforms
Linux: Kernel version >= 3.10 (Full support, >= 4.18 is recommended)
MacOS or FreeBSD (Only server side)
4. Dependencies
libfuse (version 3.9.4 or newer, 3.16.2 is recommended)
recommend to execute libfuse_setup.sh for compiling and installing libfuse
5.2 easy installation
libfastcommon, libserverframe, fastDIR, faststore and FastCFS can be compiled, installed and auto configurated by fastcfs.sh
fastcfs.sh can automatically pull or update above six projects codes from GitHub, compile and install according to dependency orders, and automatically generate cluster related configuration files according to the config templates.
bash
git clone https://github.com/happyfish100/FastCFS.git; cd FastCFS/
fastcfs.sh usage:
* install: pull/update codes from gitee, then make and install
* config: copy config files and configure them with local ip
* start | stop | restart: for service processes control
one click to build (deploy and run) single node demo environment (MUST run by root):