What are the disadvantages of redis?

Alibaba cloud Q & A 2022-02-13 08:06:51 阅读数:455

disadvantages redis

Redis What are the disadvantages ?

Take the answer 1:

Database capacity is limited by physical memory , Cannot be used as high-performance read-write of massive data , therefore Redis Suitable scenarios are mainly limited to high-performance operations and operations with small amount of data .

Redis No automatic fault tolerance and recovery functions , The downtime of the host and slave will lead to the failure of the front-end read and write requests , You need to wait for the machine to restart or manually switch the front end IP To recover .

Host down , Before the outage, some data could not be synchronized to the slave in time , Switch IP After that, the problem of data inconsistency will be introduced , Reduced system availability .

Redis Difficult to support online capacity expansion , When the cluster capacity reaches the upper limit, online capacity expansion will become very complex . To avoid this problem , The operation and maintenance personnel must ensure enough space when the system is online , This is a great waste of resources .

copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130806502494.html