|
|
Subscribe / Log in / New account

The SO_REUSEPORT socket option

The SO_REUSEPORT socket option

Posted Aug 2, 2013 16:56 UTC (Fri) by edsiper (guest, #65392)
Parent article: The SO_REUSEPORT socket option

It looks very interesting just when thousands of connections are getting stuck in the queue before to be accepted. For our case which is a HTTP server with multiple threads and each one with its own epoll(7) queue, its critical to decide just after the accept(2) which thread will work that new connection to keep a balanced load.


to post comments

The SO_REUSEPORT socket option

Posted Apr 30, 2014 2:45 UTC (Wed) by edsiper (guest, #65392) [Link] (1 responses)

just using SO_REUSEPORT on Monkey HTTP Server:

https://github.com/monkey/monkey/commit/d1da249a0b5e8f576...

The SO_REUSEPORT socket option

Posted Sep 19, 2014 13:51 UTC (Fri) by RamanGupta16 (guest, #98942) [Link]

Is this socket option valid and usable for SCTP also? Using this option can multiple SCTP sockets on the same host bind to the same port and work precisely like what is said in this article for TCP/UDP.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds