In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you what you need to pay attention to when using redis clusters, I believe most people don't know much about it, so share this article for your reference. I hope you can learn a lot after reading this article. Let's learn about it together.
Redis cluster has some functional limitations compared with stand-alone, so we should avoid it when using it. Attention is as follows:
1) the support for key batch operations is limited. For example, mset and mget, only those with the same slott value are supported.
Key performs bulk operations. For key mapped to different slotted values, due to mget, mget, and so on, you can
Can exist on multiple nodes and is not supported.
2) the support for key transaction operations is limited. Similarly, only transaction operations of multiple key on the same node are supported.
As a result, transaction functionality cannot be used when multiple key are distributed on different nodes.
3) key is the minimum granularity of data partition, so you cannot set a large key object such as
Hash, list, and so on are mapped to different nodes.
4) multiple database spaces are not supported. Redis on a single machine can support 16 databases and cluster models.
You can only use one database space, that is, db0.
5) replication structure supports only one layer, slave nodes can only copy master nodes, and nested tree duplicates are not supported.
System structure.
The above are all the contents that you need to pay attention to when using redis cluster. Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.