Distributed File System Application (upper) theory

Source: Internet
Author: User
Tags file system file upload linux

Since June, has been thinking about a set of common service platform. In the design of user behavior analysis and user promotion, found in their own framework for mass file storage does not have a reasonable solution. Originally intended to use Windows2003 DFS system to develop a new file system, and later found that the DFS under win is a big pit, attempted. Then consider the win platform and Linux system between the advantages and disadvantages of file processing and stability, the final choice of Linux under Fastdfs.

The following is a brief introduction to the Distributed File system and then combined with my actual case to give you pictures and texts, before the first thanks to the next Fishman, thump, and the strong support of students. You are the best!!

Tracker server: Tracking servers, mainly to do scheduling work, in the access load balanced role. Recording state information for group and storage servers in the cluster in memory is a hub for connecting client and storage servers.

Storage Server: Storage server, file and file attributes (meta data) are saved to the storage server

Architectural Interpretation:

Only two roles, tracker server and storage server, do not need to store file index information

All servers are equivalent, there is no master-slave relationship

Storage servers are grouped by the same files on the storage servers in the group (RAID 1)

Different groups of storage servers do not communicate with each other

Active reporting of state information by storage server to tracker server, tracker server does not normally communicate with each other

Upload file Flowchart:

1.client asked tracker uploaded to the storage;

2.tracker returns a usable storage;

3.client Direct and storage communication complete file upload, storage return file ID

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.