Redis is single threaded. How to improve the utilization of multi-core CPU?

Alibaba cloud Q & A 2022-02-13 09:02:19 阅读数:462

redis single threaded. threaded improve

Redis It's single threaded , How to improve multicore CPU Utilization ratio ?

Take the answer 1:

You can deploy multiple on the same server Redis Example , And use them as different servers , At some point , In any case, a server is not enough , therefore , If you want to use more than one CPU, You can think about slicing (shard).

copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you.