3 ms·
gevent is a very simple webserver that wont handle many things that the "real" servers do. One of the main things I'm talking about in this post is load balanc
by zeeg 13y ago
gevent is a very simple webserver that wont handle many things that the "real" servers do.
One of the main things I'm talking about in this post is load balancing, which gevent (and uwsgi, and gunicorn, etc) don't implement very well. Nginx does a pretty good job at this, in addition to many other things (like buffering).
You can definitely get a lot of performance out of a coroutine, async, etc framework, but at the end of the day it's not going to be the entry point to a production application.
- zhemao 13y agoI think OP was asking what the performance of gevent server running behind nginx was compared to uwsgi or gunicorn running behind nginx.
- mixmastamyk 13y agoYes I do run it behind nginx. While performance is important, I wonder about the other aspects as well.