Redis is an open source log-type Key-Value database written in ANSI C language, supports network, can be memory-based and persistent, and provides APIs in multiple languages.
How to restart the redis service
If you installed redis with apt-get or yum install, You can stop/start/restart redis directly through the following commands
/etc/init.d/redis-server stop
Restarting is only required when changing the following three configurations:
1.appendfsync no appendfsync This is no, redis will not actively call fsync to synchronize the log to the disk. At this time , depending on the operating system, most Linux operating systems call fsync every 30s to synchronize the buffer log to the diskThe above is the detailed content of Does replacing redis require a restart?. For more information, please follow other related articles on the PHP Chinese website!