Python: with gevent, do I need a front-end server / reverse proxy?

In a related question, I am trying to understand how a Python web application "ties together" from end to end, and I make the assumption that Apache / lighttpd / nginx is required with the WSGI module. (Suppose I serve static content using a CDN.)

Can I skip WSGI and use the gevent library to serve customers directly?

+3
source share
2 answers

gevent does not include a pre-prepared HTTP server, but you can write it with gevent.server. It is probably easier to use a lightweight WSGI container, such as Insert Deployment .

+1

, , , , / . Nginx - .

gevent gunicorn.

wsgi ( http) . , .

0

All Articles