3 ms·
Running your Flask application with uWSGI could allow you to do just that by way of the spool and other related decorators: http://uwsgi-docs.readthedocs.org/en
by oxtopus 13y ago
Running your Flask application with uWSGI could allow you to do just that by way of the spool and other related decorators: http://uwsgi-docs.readthedocs.org/en/latest/PythonDecorators.html http://uwsgi-docs.readthedocs.org/en/latest/PythonDecorators...
- mh- 13y ago+1 for uWSGI. The Spooler is awesome and also, if you need lower-level stuff, have a look at its SharedArea and Queue[1] frameworks, as well as Mules[2]. [1] http://uwsgi-docs.readthedocs.org/en/latest/Queue.html http://uwsgi-docs.readthedocs.org/en/latest/Queue.html [2] http://uwsgi-docs.readthedocs.org/en/latest/Mules.html http://uwsgi-docs.readthedocs.org/en/latest/Mules.html