Deployment Options Hosted options Self-hosted options Deployment Options While lightweight and easy to use, Flask’s built-in server is not suitablefor production as it doesn...
The Pty plugin Building it Example 1: Rack application shared debugging Example 2: IPython control thread The Pty plugin Available since uWSGI 1.9.15, supported on Linux, O...
Standalone WSGI Containers Gunicorn uWSGI Gevent Twisted Web Proxy Setups Standalone WSGI Containers There are popular servers written in Python that contain WSGI applicat...
Monitoring uWSGI with Nagios The embedded SNMP server Pushing statistics (from 1.4) Integration with Graphite/Carbon The uWSGI Stats Server The Metrics subsystem
Create Docker containers for Python An introduction to containers Prerequisites App code Create a container registry Create a container image Create the Docker files Using pr...
Pump support Pump support Note Pump is not a PEP nor a standard. Pump is a new project aiming at a “better” WSGI. An example Pump app, for your convenience: def app ( req...
Deployment Options Hosted options Self-hosted options Deployment Options While lightweight and easy to use, Flask’s built-in server is not suitable for production as it does...
Gevent Avoid blocking in Hub.join Gevent PyMongo supports Gevent . Simply call Gevent’s monkey.patch_all() before loading any other modules: >>> # You must call patch_all()...