FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. Wechat/Weixin public account (Chinese Language): fastdfs
 
 
 
 
 
Go to file
YuQing ff2aef1735 adapt to libserverframe 1.2.3 2024-02-26 22:14:50 +08:00
client client.conf add config item: connect_first_by 2023-12-11 19:20:32 +08:00
common adapt to libserverframe 1.2.3 2024-02-26 22:14:50 +08:00
conf client.conf add config item: connect_first_by 2023-12-11 19:20:32 +08:00
docker update docker/dockerfile_network/Dockerfile. 2023-01-31 18:44:50 +00:00
images add README_zh.md 2019-11-05 20:30:54 +08:00
init.d check and include /etc/init.d/functions 2017-04-11 17:52:25 +08:00
php_client call conn_pool_connect_server with timeout_ms 2023-10-24 17:22:24 +08:00
storage adapt to libserverframe 1.2.3 2024-02-26 22:14:50 +08:00
systemd add ExecStartPost=/bin/sleep 0.1 to systemd service files 2023-04-10 09:38:36 +08:00
test adapt to the newest libfastcommon and libserverframe 2023-11-29 20:18:50 +08:00
tracker adapt to libserverframe 1.2.3 2024-02-26 22:14:50 +08:00
.gitignore remove *.d from .gitignore 2022-09-16 18:21:28 +08:00
COPYING-3_0.txt remove tracker_global.c extern keyword to tracker_global.h 2014-06-23 11:26:10 +08:00
HISTORY adapt to libserverframe 1.2.3 2024-02-26 22:14:50 +08:00
INSTALL adapt to libserverframe 1.2.3 2024-02-26 22:14:50 +08:00
README.md bugfixed: report connections' current_count and max_count correctly 2023-02-15 12:44:53 +08:00
README_zh.md !4 文字修改 2022-10-21 06:40:20 +00:00
fastdfs.spec adapt to libserverframe 1.2.3 2024-02-26 22:14:50 +08:00
make.sh make.sh: set DEBUG_FLAG to 0 2024-02-13 10:38:19 +08:00
setup.sh INSTALL changed and modify website name 2019-11-23 09:56:35 +08:00

README.md

Copyright (C) 2008 Happy Fish / YuQing

FastDFS may be copied only under the terms of the GNU General Public License V3, which may be found in the FastDFS source kit. Please visit the FastDFS Home Page for more detail. Chinese language: http://www.fastken.com/

FastDFS is an open source high performance distributed file system. Its major functions include: file storing, file syncing and file accessing (file uploading and file downloading), and it can resolve the high capacity and load balancing problem. FastDFS should meet the requirement of the website whose service based on files such as photo sharing site and video sharing site.

FastDFS has two roles: tracker and storage. The tracker takes charge of scheduling and load balancing for file access. The storage store files and it's function is file management including: file storing, file syncing, providing file access interface. It also manage the meta data which are attributes representing as key value pair of the file. For example: width=1024, the key is "width" and the value is "1024".

The tracker and storage contain one or more servers. The servers in the tracker or storage cluster can be added to or removed from the cluster by any time without affecting the online services. The servers in the tracker cluster are peer to peer.

The storarge servers organizing by the file volume/group to obtain high capacity. The storage system contains one or more volumes whose files are independent among these volumes. The capacity of the whole storage system equals to the sum of all volumes' capacity. A file volume contains one or more storage servers whose files are same among these servers. The servers in a file volume backup each other, and all these servers are load balancing. When adding a storage server to a volume, files already existing in this volume are replicated to this new server automatically, and when this replication done, system will switch this server online to providing storage services.

When the whole storage capacity is insufficiency, you can add one or more volumes to expand the storage capacity. To do this, you need to add one or more storage servers.

The identification of a file is composed of two parts: the volume name and the file name.

Client test code use client library please refer to the directory: client/test.

For more FastDFS related articles, please subscribe the Wechat/Weixin public account (Chinese Language): fastdfs

FastDFS is a lightweight object storage solution. If you need a general distributed file system for databases, K8s and virtual machines (such as KVM), you can learn about FastCFS which achieves strong data consistency and high performance.

We provide technical support service and customized development. Welcome to use WeChat or email for discuss.

email: 384681(at)qq(dot)com