<p>I want to deploy Redis on Kubernetes. This Redis should handle a huge amount of commands and we are enabling <code>io-threads</code> config in our Redis.</p>
<p>Based on the request and limit resource values in Kubernetes, what should I have considered as <code>io-threads</code> config?</p>
<p>For example, I want to set 9 core CPU limit for this Redis instance and our Kubernetes cluster will guarantee 3 core request for it. What is the proper value for this config? I should set <code>io-threads</code> to 3 or I can set it to more than the request core like 5 or 6?</p>
<p>I have tried both 4 and 5, but there was no change in CPU usage and latency of executed commands and I just want to make sure higher values than CPU requests are fine for Redis.</p>

Hamid Azimi
<p>recommended read would be:</p>
<p><a href="https://segmentfault.com/a/1190000040376111/en" rel="nofollow noreferrer">Redis 6.0 new features: take you 100% to master the multi-threaded model </a></p>
<p>and you should never fix the Cores for these services until you know you will be able to keep that much amount of cores at all time, else your deployments will fail where there is not enough room.</p>
