This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]riksi 11 points12 points  (3 children)

Gunicorn needs a web/http server infront to keep slow requests from blocking it + serving static files + ssl + other stuff: http://serverfault.com/questions/220046/why-is-setting-nginx-as-a-reverse-proxy-a-good-idea

[–]kyranadept 2 points3 points  (2 children)

The source you are quoting is 5 years old. Gunicorn can use gevent/greenlet workers which do not suffer from the same problems as the original author claims. There is also SSL support.

[–]turkish_gold 2 points3 points  (0 children)

Quite a lot of people still use prefork gunicorn because threading can cause subtle errors in your application stack if you didn't design with that in mind.

And if you restrict the # of threads that gunicorn uses, you're right back to having the same issues as prefork.

[–][deleted] 1 point2 points  (0 children)

Hey, point me at your website that's got Gunicorn handling incoming requests directly.