Flask RQ Demo

This is a demo project that ties Flask, Redis, RQ (Redis Queue) and Docker together and can serve as template for other projects.
It's an introduction on how to use Flask with RQ and also on how to use docker-compose in a Python project.

This page auto reloads itself.

Create Job
Create a long running job and enqueue it for a worker to pick it up.

This job waits for 15 seconds and returns 15.

Enqueue wait job

Job list

Finished and failed jobs will linger around until their result_ttl or failure_ttl has expired and they will be deleted.

State Job Id Meta Result Actions