FastDFS FileID and Trunk File information
Docker installation FastDfs:
https://registry.hub.docker.com/r/ygqygq2/fastdfs-nginx https://github.com/ygqygq2/fastdfs-nginx
docker network create fastdfs-net
docker run -dit --network=fastdfs-net --name tracker -v /var/fdfs/tracker:/var/fdfs ygqygq2/fastdfs-nginx:latest tracker
docker run -dit --network=fastdfs-net --name storage0 -e TRACKE ...
Posted by zahadum on Fri, 18 Feb 2022 18:32:41 +0100
Distributed storage fastDFS cluster + nginx backend configuration
1, FastDFS components and other nouns
1,tracker server
Tracking server: used to schedule requests from clients. And record the information status of all storage groups and storage servers in memory.
2,storage server
Storage server: used to store files (data) and file attributes (metadata)
3,client
Client: the initiator of the service re ...
Posted by nitram on Wed, 16 Feb 2022 13:17:25 +0100
FastDFS distributed file system
1. Introduction to fastdfs
FastDFS is an open source distributed file system. It manages files. Its functions include file storage, file synchronization and file synchronization
Access (file upload, file download) and so on, which solves the problems of mass storage and load balancing. It is especially suitable for online service with doc ...
Posted by Shaba1 on Thu, 10 Feb 2022 02:49:38 +0100
FastDFS quick start
FastDFS Download Link: https://pan.baidu.com/s/1SbUdiVtkc1rmf6k4AVXn8g Extraction code: 2959
1, Distributed file system overview?
1. Classification 1.1 general distributed file system
It corresponds to traditional local file systems (such as ext3, NTFS, etc.). Typical representatives: lustre, MooseFS
1.1.1 advantages
The standard fil ...
Posted by tecktalkcm0391 on Tue, 18 Jan 2022 21:45:45 +0100
fastdfs - Communication Protocol - custom instruction code expansion (dry goods)
1, fasdfs communication protocol
Official reference: https://mp.weixin.qq.com/s/lpWEv3NCLkfKmtzKJ5lGzQ FastDFS adopts binary TCP communication protocol. A packet consists of a header and a body. The header has only 10 bytes, and the format is as follows:
@ pkg_len: 8 Byte integer, body Length, excluding header,just body Length of
@ cmd: ...
Posted by pstevereynolds on Sat, 23 Oct 2021 00:53:44 +0200
Principle and practice of FastDFS multi master mutual backup
FastDFS
principle
Tracker server:
The function is load balancing and scheduling. When uploading files, the Tracker server can find the Storage server according to some policies to provide file upload services. A Tracker can be called a tracking server or a scheduling server. The information that the Tracker needs to manage is also stored in ...
Posted by phillips321 on Tue, 19 Oct 2021 04:40:08 +0200