New submission from Lisa Guo :
https://bugs.python.org/issue27906 describes a situation where accept rate of
connection is too slow for use cases where spikes of incoming connection
warrants fast accept. The fix for that was to accept socket connection in a
tight loop until it reaches
Lisa Guo added the comment:
One rough idea would be like this:
https://github.com/python/cpython/compare/master...lguo2020:fix-issue-33811?expand=1.
Another option is to associate it with the loop:
loop.set_max_accept(2)
and then later
self._loop._start_serving(., max_accept=self
New submission from Lisa Guo :
I'd like to re-open the discussion on pause_server/resume_server that's been
discussed here:
https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!topic/python-tulip/btGHbh5kUUM
with PR:
https://github.com/python/asyncio/pull/448
Lisa Guo added the comment:
Hi Yury, no, I'm not familiar with the other frameworks (libuv doesn't have
this). I'll need to look into it. If anybody else knows, please comment as well.
--
___
Python tracker
<https://bugs.pyt