This program extensively uses a runtime cache based on Redis.
To make this work best, you should enable data durability with your Redis instance.
The append-only file is an alternative, fully durable strategy for Redis. It became available in version 1.1. You can turn on the AOF in your Redis configuration file (e.g.
In order to run Redis from your local working tree, you might want to invoke:
echo 'dir ./var/lib\nappendonly yes' | redis-server -
In order to look into what is going on at the Redis substrate, you might want to invoke:
Please take care, the output is noisy.
Running in production#
We experienced infrequent crashes of our Redis instance on CentOS Linux 7.6.1810.
In order to work around that problem, we configured systemd to restart the Redis
instance on failure by adding a file to the
/etc directory as outlined below.
[Service] # https://jonarcher.info/2015/08/ensure-systemd-services-restart-on-failure/ # Please run "systemctl daemon-reload" after making changes to this file. Restart=always RestartSec=3
systemctl daemon-reload after adding this file or making changes to it.
We have been tracking this issue at .