1. Introduction
FastDFS is an open source, high-performance distributed file system (DFS). Its main features include: file storage, file synchronization and file access, as well as high-capacity and load balancing. Mainly to solve the problem of mass data storage, especially for small and medium file (recommended range: 4KB <file_size <500MB) as the carrier online services.
FastDFS system has three roles:
Tracking server (Tracker Server)
Storage Server (Storage Server)
client (Client)
Tracker Server: tracking server, the main job of scheduling work, play a balancing role; responsible for managing all of the storage server and the group, each storage after starting connects Tracker, inform the group they belong to other information, and to maintain a periodic heartbeat.
Storage Server: storage servers, mainly to provide capacity and back-up services; to group as a unit, each group can have more than one storage server, data back up each other.
Client: The client, upload and download data server, which is our own projects in server deployment.