In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
As a cache database, Redis is highly respected in the Internet industry. With many unique advantages, it can solve the caching needs of many business architectures.
For Redis products, AWS launched Elasticache for Redis for PAAS services. Today, let's take a brief look at how to create an Elasticache for Redis Cluster.
And test how much time it will take for redis to refragment.
About ElastiCache Scaling links
Https://docs.aws.amazon.com/zh_cn/AmazonElastiCache/latest/red-ug/redis-cluster-resharding-online.html
1. The cluster has a unified endpoint that provides client access
two。 Three sharding are created, followed by sharding, on which node, there are a total of 16384 hash slot.
3. Click to enter a sharding, you can see that there are three nodes below, a group of two slaves, but now the page does not show which is the master and that is the slave. We can also access it through the endpoint below, but if the machine goes down, or if the slot you need to access is not in this sharding, the access will fail. Therefore, be sure to use the total redis endpoint for access.
4. Add sharding instances
5. It takes 13 minutes to actually complete (this is an empty redis cluster, if it is a production environment, the more data, the slower the sharding)
6. Delete shard operation
7. Delete operation for 10 minutes, not completed
8. Delete operation completed, total time 17 minutes
To sum up, redis as a cache database, general scenarios, memory consumption, cache data will not be very large. In other words, the amount of cached data is relatively stable. In the process of add shards and delete shards, there is a long modifying time, which can not be ignored for the performance impact of redis such a cached database. Therefore, it is recommended that expansion and contraction operations should be performed during the idle period of the business.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.