In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
After learning about memcache clusters and redis clusters, I have some problems:
Redis clusters support more storage types than memcache clusters, while redis clusters support data persistence and better protect data integrity.
So, why are some enterprises still keen on memcache clusters? Let's think about it together.
Differences in data storage:
In redis clusters, not all data is kept in memory all the time.
The data of memcache is kept in memory all the time.
Differences in the use of resources:
Redis uses a single core, while memcache can use multiple cores.
Differences in performance:
When the data on each core is less than 100K, redis is faster, and vice versa, memcache is faster.
However, this is not the point of the difference between the two, because the number of requests processed per second will not be the bottleneck between the two.
Differences in data recovery:
Redis has data persistence and master-slave replication. After power outage and restart, the data can be restored.
Memcache does not have these functions, and data is lost after power outage and restart.
Which cluster to choose depends on the business requirements. If data loss is not allowed, you can only choose redis.
Differences in the category of stored data:
Redis supports special storage tables: key-value, hash, list, etc.
Memcache only supports key-value, but memcache can cache pictures, videos, and so on in memory.
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.