[issue33840] connection limit on listening socket in asyncio

2020-07-13 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy:  -Janae147

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33840] connection limit on listening socket in asyncio

2020-07-13 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
Removed message: https://bugs.python.org/msg373589

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33840] connection limit on listening socket in asyncio

2020-07-13 Thread Janae


Janae  added the comment:

All works are very interesting. thanks, to post and your works.
https://apkgreat.com/fifa-14-apk/

--
nosy: +Janae147

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33840] connection limit on listening socket in asyncio

2020-07-08 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
Removed message: https://bugs.python.org/msg373314

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33840] connection limit on listening socket in asyncio

2020-07-08 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
Removed message: https://bugs.python.org/msg373313

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33840] connection limit on listening socket in asyncio

2020-07-08 Thread Deon


Deon  added the comment:

Download FIFA 14 apk
https://apkgreat.com/fifa-14-apk/

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33840] connection limit on listening socket in asyncio

2020-07-08 Thread Deon


Deon  added the comment:

hi

--
nosy: +Deon257

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33840] connection limit on listening socket in asyncio

2020-02-24 Thread Andrew Svetlov


Andrew Svetlov  added the comment:

For server applications, the reverse proxy in front of the application can 
limit the connection limit.
It is a good workaround because the proxy is required (and most likely is used 
already) for any non-trivial server app.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33840] connection limit on listening socket in asyncio

2020-02-22 Thread Fantix King


Change by Fantix King :


--
nosy: +fantix

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33840] connection limit on listening socket in asyncio

2018-06-12 Thread Lisa Guo


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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33840] connection limit on listening socket in asyncio

2018-06-11 Thread Yury Selivanov


Yury Selivanov  added the comment:

Do other frameworks (Tornado, Twisted, libuv/nodejs) have this functionality?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33840] connection limit on listening socket in asyncio

2018-06-11 Thread Lisa Guo


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_medium=email#!topic/python-tulip/btGHbh5kUUM

with PR:

https://github.com/python/asyncio/pull/448

We would like to set a max_connection parameters to a listening socket. 
Whenever it reaches this number with open accepted sockets, it stops accepting 
new connections until a user request is served, response sent back, and the 
connection closed. This is useful for a web application where the more user 
requests accepted and processed in-flight isn't necessarily better for 
performance. It would be great if we could dynamically change this value as 
well.

Some more detailed behavior:

- it can be either a per loop parameter, or per server parameter
- the number of currently open accepted connections is counted against this 
limit
- if max connection is reached, remove the listening socket from the loop so it 
back pressures new connections to kernel and other processes can take them
- when total number of accepted connections drops below max connection, put the 
listening socket back in the loop
- it can be dynamically configured but has no effect on currently already 
accepted connections (useful for graceful shutdown)

Lisa

--
components: asyncio
messages: 319347
nosy: asvetlov, lguo, yselivanov
priority: normal
severity: normal
status: open
title: connection limit on listening socket in asyncio
type: enhancement
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com