Awesome Open Source
Awesome Open Source

Falcon + Celery

Example of how to handle background processes with Falcon, Celery, and Docker

Quick Start

Spin up the containers:

$ docker-compose up -d

Open your browser to http://localhost:8000/ping to view the app or to http://localhost:5555 to view the Flower dashboard.

Trigger a new task:

$ curl -X POST http://localhost:8000/create \
    -d '{"number":"3"}' \
    -H "Content-Type: application/json"

Check the status:

$ curl http://localhost:8000/status/<ADD_TASK_ID>

Want to learn how to build this?

Check out the post.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
python (50,967
docker (2,738
celery (77
task-queue (19

Find Open Source By Browsing 7,000 Topics Across 59 Categories