.. _admin_howto_backend_worker: Backend workers ############### Backend workers are used to process asynchronous tasks. Currently it is used for: * :ref:`Backend notifications` * :ref:`Monitoring with Prometheus` It's based on a notification queue managed by Redis and a worker that will process the the queue as soon as it's pushed. Unlike "SystemEvents" there is no delay between the queue and the processing of the job. Configure backend workers ========================= Install and configure Redis --------------------------- .. note:: If redis is already configured, you just need to configure the connection with the server. If redis is installed for several servers, you must setup firewall rules to ensure only granted front-end servers can access it. You must install redis from EPEL. You will need to adapt 2 things in the configuration file ``/etc/redis.conf`` #. You should set a password (at least 30 chars) with ``requirepass`` key #. You should enable ``appendonly`` persistence. We highly recommend that you read `Redis Persistance Guide `_ as well as `Redis Security Guide `_ to understand how data are stored and security practices. Then start the server and make it on at reboot time .. code-block:: bash $ sudo service redis start $ sudo chkconfig redis on And finally set server parameters for Tuleap in your config file ``/etc/tuleap/conf/redis.inc`` .. code-block:: php