Home > Database > Redis > What does redis sharding mean?

What does redis sharding mean?

藏色散人
Release: 2019-06-11 09:43:28
Original
7138 people have browsed it

What does redis sharding mean?

#What does redis sharding mean?

Redis’ sharding (Sharding or Partitioning) technology refers to a method of dispersing data into multiple Redis instances. After sharding, each redis owns a part of the original data. subset of the set. (Recommendation: "redis video tutorial")

When the amount of data is very large, this technology can disperse the amount of data to redis instances on several hosts, thereby reducing the cost of a single redis instance. pressure. Sharding technology can use the storage capabilities (here mainly refers to the storage capabilities of memory) and computing capabilities of multiple computers in a more scalable way:

(1)From the perspective of storage capabilities, Sharding technology uses the memory of multiple computers to bear a larger amount of data. Without sharding technology, the storage capacity of redis will be limited to the memory size of a single host.

(2) From the perspective of computing power, sharding technology can make full use of the computing power of multiple cores and multiple hosts by distributing computing tasks to multiple cores or multiple hosts.

The above is the detailed content of What does redis sharding mean?. 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