role

Distributed file storage -fastDFS. This is the essence and purpose of fastDFS.

architecture

Typically, as with other server software, it’s pretty much the same.

Server 2. Client 3. Registry node // The function of redis sentinel node dubbo ZK node message middleware ZK node

Add or delete check change

File storage, in fact, is also add delete check.

It’s just that one is text data and one is binary streaming data.


Client: A client that initiates service requests and uses TCP/IP to exchange data with the tracker server or storage node through a dedicated interface. FastDFS provides users with basic file access interfaces, such as Upload, Download, Append, and Delete, in the form of client libraries.

client

In fact, it is typical of the most common server and client, the server provides the client.

Bring in the client and then read and write data based on the client-server.

The deployment of

Load balancing File server fastDFS also has load balancing. Use NGINX.

reference

Pure smile mp.weixin.qq.com/s/sBIZ_wYDU…