Install Redis
sudo yum install epel-release
sudo yum update
sudo yum install redis
sudo systemctl start redis
sudo systemctl enable redis
redis-cli ping
Check Return Message PONG
sudo firewall-cmd --zone=public --add-service=redis --permanent
sudo firewall-cmd --reload
install in python
pip install flask rq redis
using redis with python flask
flask setup
export FLASK_APP=run.py
export FLASK_ENV=development
flask run --host=0.0.0.0 --port=80
RQ: Documentation Overview
Queues Workers Results Jobs Monitoring Job Registries Connections Exceptions Testing A job is a Python object, representing a function that is invoked asynchronously in a worker (background) process. Any Python function can be invoked asynchronously, by si
python-rq.org
https://pythonise.com/series/learning-flask/flask-rq-task-queue