Sujet : Re: Python recompile
De : chris.m.thomasson.1 (at) *nospam* gmail.com (Chris M. Thomasson)
Groupes : comp.lang.cDate : 15. Mar 2025, 03:30:42
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vr2ooi$2hq49$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
User-Agent : Mozilla Thunderbird
On 3/14/2025 6:16 PM, Lawrence D'Oliveiro wrote:
On Fri, 14 Mar 2025 16:25:48 -0700, Chris M. Thomasson wrote:
This kind of thing does not scale to having thousands of connections
open at once.
>
Yawn. Of course it does! 50,000 concurrent connections way back in early
2000's.
So, you have, what is it, 50,000 concurrent read and/or 50,000 concurrent
write requests in flight at once?
By the way, the default “hard” process open-file limit on this system I’m
using is half a million.
It was about how to squeeze in 50,000 concurrent connections on some (now) older hardware. There were many tricks... One of them being zero-byte receives wrt IOCP. Keep in mind that IOCP can mess around with non-paged memory. So, you have to be very careful! You are reminding me of a so-called panic mode when the server would get to a point where shit might hit the fan, do I would dump timedout connections, dump as much cache as I could, but still try to maintain up time during times of really heavy load. It was an interesting time. 23-24 years ago.