News for hackers. Stuff that matters.
Re:Lwan: Experimental, scalable, high performance HTTP server by donavanm on Sunday October 12, 2014 @04:48PM (#8446545)
Nah, its a couple KB per connection. the biggest consumer would be the tcp socket control structs and associated data buffers. Ball park 1.5KB for the structs and another 4-16KB for tcp buffers on a typical internet tcp connection.
Re:Lwan: Experimental, scalable, high performance HTTP server by nwmcsween on Sunday October 12, 2014 @04:58PM (#8446578)
but vars controlling how long a tcp sock is held for or if they are reused is controlled my the kernel.
Re:Lwan: Experimental, scalable, high performance HTTP server by donavanm on Sunday October 12, 2014 @08:21PM (#8447034)
I think youre talking about timewait states et al. On linux thats dominated by the MSL, which is a compile time constant of 60 seconds. You mentioned sysctls, those are primarily tcp_tw_reuse and tcp_tw_recycle (which is the worlds worst sysctl). Regardless, its a couple KB per connection. How many hundred thousand do you want to support?