News for hackers. Stuff that matters.
Re:Maintaining 65k open connections in a single Ruby process by tyingq on Monday October 29, 2018 @06:39PM (#18332268)
It does make you wonder what was throttling it to 65k. I didn't see any mention of tweaking kernel/ulimit/systemd max open file settings.
Re:Maintaining 65k open connections in a single Ruby process by masklinn on Monday October 29, 2018 @06:43PM (#18332317)
Since client connecting to a single port? So you'd get 1 client IP, 65k client ports, connecting to 1 destination IP on 1 port.
Re:Maintaining 65k open connections in a single Ruby process by tyingq on Monday October 29, 2018 @06:44PM (#18332325)
"Eventually we got it working by using four servers each running a single instance of ab in addition to the one running our Ruby process"

So 4 source ips. Guessing they were just bumping into a (configurable) max open file setting.