1 TFS and GFS Comparisons
Application Scenarios for 1.1 GFs
First, millions other files, and is large files, files are more than 100MB, 1G-level files are very common.
Second, the cluster is built on a commercial computer, not reliable, monitoring the state of each node, when a node is broken, can be restored inside. Therefore, a master is required to manage multiple slave.
1.2 Application Scenarios for TFS
First, company aims Yangzhou other small files, especially picture files, size is about 18KB.
Second, clusters are also built on commercial computers.
2 integrity of the data
First, backup;
Second, divide the data into chunk and block, calculate the checksum of each block;
Thirdly, checksum is placed in log, log and data are stored separately;
IV, check the checksum before transmitting the data, find the error, delete the error data, copy the backup data.
3 flat design of TFS
TFS lost the directory structure, directly with the file name to resolve the block ID and file ID, directly get the physical address of the files, can greatly improve the speed of access.
4 TFS fulfills the idea of object storage
Picture Storage System TFS