The difference between distributed storage and centralized storage
The difference between distributed storage and centralized storage
1. The physical media of centralized storage are deployed centrally, while the physical media of distributed storage are distributed to different geographical locations.
2. Centralized storage has high requirements on the computer room environment and requires a large computer room space, while distributed storage requires distributed deployment of small-capacity equipment, so it has low requirements on the computer room environment.
Choice of distributed and centralized storage
The advantages and disadvantages of centralized storage are that physical media are deployed centrally; video streaming Uploading to the center has high requirements for the computer room environment, requiring a large computer room space, load-bearing, air conditioning, etc. are all issues that need to be considered.
The advantages and disadvantages of distributed storage and centralized management are that physical media are distributed to different geographical locations; video streams are uploaded nearby, and there are no requirements for backbone network bandwidth; multiple sets of low-end, small-capacity storage devices can be used Distributed deployment means lower equipment prices and maintenance costs; distributed deployment of small-capacity equipment has low requirements on the computer room environment.
Considerations of distributed storage
1. Consistency
Distributed storage systems need to use multiple servers to store data together, and with the As the number of servers increases, the probability of server failure also increases. In order to ensure that the system is still available in the event of server failure. The general approach is to divide a piece of data into multiple copies and store them in different servers. However, due to the existence of faults and parallel storage, there may be inconsistencies between multiple copies of the same data. The property of ensuring that multiple copies of data are completely consistent is called consistency here.
2. Availability
Distributed storage systems require multiple servers to work at the same time. When the number of servers increases, it is inevitable that some of them will fail. We hope that this situation will not have too big an impact on the entire system. After a part of the nodes in the system fails, the system as a whole does not affect the client's read/write requests, which is called availability.
3. Partition Fault Tolerance
Multiple servers in a distributed storage system are connected through the network. However, we cannot guarantee that the network is always smooth. Distributed systems need to have a certain degree of fault tolerance to deal with problems caused by network failures. A satisfactory situation is that a distributed storage system can still work when a network is broken into multiple parts due to failure.
Recommended tutorial: "PHP Tutorial"
The above is the detailed content of The difference between distributed storage and centralized storage. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Linux new version
SublimeText3 Linux latest version

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Notepad++7.3.1
Easy-to-use and free code editor
