[issue35279] asyncio uses too many threads by default

Andrew Svetlov report at bugs.python.org
Tue May 28 03:00:45 EDT 2019


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

I'm ok with changing the default threads number limit.
Not sure about numbers.
If you want to limit to 16-20 that may be ok but `cpu_count + 4` doesn't work in this case. On cloud servers, I see 128 or even more cores very often. 160+4 is not that you want to propose, sure.

I insist on changing the default calculation schema in concurrent.futures, not in asyncio. There is no case for asyncio to be exceptional.

----------

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


More information about the Python-bugs-list mailing list