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
maogen.ymg c4355d126a fix: possible out-of-bounds issues with array access 2023-04-24 17:19:29 +08:00
client output port with format %u instead %d 2022-12-16 16:11:41 +08:00
common use epoll edge trigger to resolve github issues #608 2023-02-12 10:49:10 +08:00
conf add ExecStartPost=/bin/sleep 0.1 to systemd service files 2023-04-10 09:38:36 +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 bugfixed: clear task extra data correctly when the connection broken 2022-11-25 15:38:44 +08:00
storage bugfixed: report connections' current_count and max_count correctly 2023-02-15 12:44:53 +08:00
systemd add ExecStartPost=/bin/sleep 0.1 to systemd service files 2023-04-10 09:38:36 +08:00
test fix: possible out-of-bounds issues with array access 2023-04-24 17:19:29 +08:00
tracker simplify serivce name for tracker and storage 2022-12-24 15:05:10 +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 files HISTORY and INSTALL changed 2023-02-15 21:11:24 +08:00
INSTALL files HISTORY and INSTALL changed 2023-02-15 21:11:24 +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 upgrade version to 6.9.4 2023-02-15 21:01:40 +08:00
make.sh fastdfs.spec upgrade libfastcommon version 2022-06-21 12:47:03 +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