Redis database

The optional qunits extra, which exposes qrobot_qunits, requires Redis, a high performance, super fast and easy to use in-memory database.

Check the How fast is Redis? benchmark page for further information

Note

On Linux, start a locally installed Redis server with service redis-server start.

It is also possible to use Docker to spin a redis server without installing redis on your local machine:

docker run --name redis_container -p 6379:6379 -d redis

The to stop it:

docker stop redis_container
docker rm redis_container

To check wether the redis database is reachable, open a python shell (for example, python in the installed environment) and run:

>>> from qrobot_qunits.redis_utils import redis_status
>>> redis_status()