How it works...
In step 1, we launched a Redis Server with the configuration file conf/redis.conf. If we don't specify the configuration file, Redis is also able to start with the built-in default configurations. However, this should be used for test purposes only and should never be used in a production environment.
In step 2, we can see that another configuration file, redis-common.conf, is included in redis.conf . This feature is useful when multiple Redis instances are running on the same host. We can put into redis-common.conf configurations shared by all instances and include it in the configuration file of each instance.
CONFIG REWRITE will write current configurations into the configuration file. If you have made any changes using ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access