profile for Gajendra D Ambi on Stack Exchange, a network of free, community-driven Q&A sites

Thursday, May 20, 2021

Redis 6 and multi threading

 We have an excellent article here https://www.digitalocean.com/community/tutorials/how-to-install-redis-from-source-on-ubuntu-18-04 on how to install redis from the source.

Here we can configure the redis to have multi threading

https://www.programmersought.com/article/30635498543/

update both the settings, number of cores and multi threading.

Apart from the above make sure to update the following

bind 0.0.0.0
protected-mode no
in the configuration file of redis at /etc/redis/redis.conf.
Once we reload the redis service, we should be good to go. In our case we were using redis to speed up for build process (as cache) and thus we did not need the data snapshots, Using redis-cli do 'config set stop-writes-on-bgsave-error no'