Category: Redis

How to Install Redis With Docker

Check the updated Redis version under Docker:

https://hub.docker.com/_/redis?tab=tags

docker pull redis:latest #Pull the image docker images #List images
Start the image: Below is an example of starting three Redis instances, mapped to external ports 637 …

Redis Snapshot Disabled Causing Persistence Failure

Redis reports a persistence error during program execution.

Solution:
1. Modify the configuration file:
vi redis.conf stop-writes-on-bgsave-error no # Change the value from yes to no. If this line does not exist, append it to the end.
Other optimizations can be applied as needed…

How to Compile and Install Redis 3.2.6 on Linux

Note: For Redis installation and startup, we use the user jjzb here. Please create the relevant user in advance. The installation path is /home/jjzb/redis; you can modify it according to your situation.

1.Compile and install [root@localhost ~]#yum -y install gcc gcc-c++ libstdc++-devel tcl wget vim …

Low Redis Hit Rate

Here are the issues encountered during today’s performance testing, summarized below.
1. Problem
While testing a certain interface, it was found that the keyspace_misses in Redis kept increasing, meaning the number of cache misses was continuously rising.

2. Troubleshooting and Analysis Process
1) The number of keys returned by the DBSIZE command was greater than the count obtained from KEYS *, indicating…

Redis Master-Slave Configuration Guide

I. Software Installation
Here we assume the master server IP is 192.168.1.100, and the slave server is 192.168.1.200
yum -y install redis Start on boot:
chkconfig –add redis chkconfig redis on
Add firewall rules:
/sbin/iptables -I INPUT -p tcp –dpo …