Storage Server

Storage Server is the core component in a distributed file system, responsible for persistent storage of files and file attributes.

Group Advantages and Limitations

Advantages:

  1. Application Isolation: Data from different applications is stored in completely independent Groups
  2. Flexible Load Balancing
  3. Customizable Replication Strategy

Limitations:

  1. Storage capacity is limited by the capacity of servers within the group
  2. Data recovery depends on nodes within the group

Storage Directory Configuration

storage.data_dirs = /data/disk1,/data/disk2

Tracker Server

Tracker Server is the core scheduling component in FastDFS, responsible for cluster load balancing and resource scheduling.

Core Functions

  1. Load Balancing: Selects target Storage based on remaining disk space on storage nodes
  2. Service Discovery: Maintains heartbeat detection for Storage nodes
  3. Protocol Support: Uses custom binary protocol, default listening port is 22122