[issue38699] socket: change listen() default backlog from 128 to 4096?

Ammar Askar report at bugs.python.org
Tue Nov 5 13:04:07 EST 2019


Ammar Askar <ammar at ammaraskar.com> added the comment:

Just for some more reference points from "production" python web servers:

* gunicorn - 2048 (https://github.com/benoitc/gunicorn/blob/678b326dc030b450717ec505df69863dcd6fb716/docs/source/settings.rst#backlog)

* tornado - 128 (https://github.com/tornadoweb/tornado/blob/c50aed0f96d92f9b0ef4cd0837c0104f140ca77e/tornado/tcpserver.py#L178)

* uwsgi - 100 (https://github.com/unbit/uwsgi/blob/3149df02ed443131c54ea6afb29fcbb0ed4d1139/core/init.c#L115)

----------
nosy: +ammar2

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38699>
_______________________________________


More information about the Python-bugs-list mailing list