Home > Common Problem > body text

What is the principle of distributed storage?

不言
Release: 2020-09-08 14:38:41
Original
12789 people have browsed it

To put it simply, distributed storage is to store data dispersedly on multiple storage servers, and form a virtual storage device with these dispersed storage resources. In fact, data is stored dispersedly in various parts of the enterprise. corner.

What is the principle of distributed storage?

Distributed storage simply means to store data dispersedly on multiple storage servers and form a virtual storage with these dispersed storage resources. Devices, in fact, data are stored dispersedly in every corner of the enterprise.

For example:

If you want to store a 10PB video file, it cannot be stored on your own computer. It needs to be stored on multiple servers. Each server is a datanode. When you need When obtaining files, accessing them one by one is too inefficient. You can find an intermediary to store the information on which server the file is located. The file can be quickly found through the information. This middleman is the namenode, and the information stored about the file is metadata. For data security, a copy of each small video (storage unit) is stored on a different server. When a server stops running, you can find the data you want by accessing the backup. This storage method is called distributed storage. .

The distributed storage architecture consists of three parts: Client, metadata server and data server.

The client is responsible for sending read and write requests, caching file metadata and file data.

The metadata server is responsible for managing metadata and processing client requests. It is the core component of the entire system.

The data server is responsible for storing file data and ensuring data availability and integrity. The advantage of this architecture is that performance and capacity can be expanded at the same time, and the system scale is highly scalable.

The above is the detailed content of What is the principle of distributed storage?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template