I have a Bottle.py server that, after it returns a response must do a PostgreSQL database call(s) to validate/update the data. My thinking was to do a Celery or RQ task queue but I can't find if Celery is supported or an example of integrating the two.
How would you, after sending a response back to the application, run one to three database commands to validate the data?
Thanks John
Please look into brokers for Celery. Additionally, Flask is quite similar to Bottle.
You can try these:
Celery with PostgreSQL
Tutorial with steps
Flask & Celery