/fcrr

Flask Celery RabbitMQ Redis, A dockerized application which is really fast and scales easily, only docker and docker-compose is needed on your machine, rest is handled by me :)

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

f.c.r.r

Flask Celery RabbitMQ Redis

Uses flask with celery as the worker, rabbitmq as broker and redis for backend. Scales well, really fast :)

To run the application:

Prerequisite:

If you don't have docker and docker compose please install it with the following code:

chmod +x install_docker_compose.sh
./install_docker_compose.sh

How to use

Method 1:

docker pull adi10hero/fcrr:latest
docker-compose up

Method 2:

docker-compose up --build  #this builds the application (recommended)

Results

  1. When your app runs successfully

  1. When you click submit as new task

  1. When you check for status of a newly created (long) task

  1. When status is checked after completion of task

Note:

  • Minimal application built under 4-5 hrs with no prior knowledge of any component except flask.
  • Contributions highly appreciated.
Some URLs for testing: