The SO_REUSEPORT socket option
The SO_REUSEPORT socket option
Posted Mar 14, 2013 10:55 UTC (Thu) by jezuch (subscriber, #52988)In reply to: The SO_REUSEPORT socket option by kugel
Parent article: The SO_REUSEPORT socket option
My thought exactly.
Also:
"Incoming connections and datagrams are distributed to the server sockets using a hash based on the 4-tuple of the connection—that is, the peer IP address and port plus the local IP address and port. (...) This eases the task of conducting stateful conversations between the client and server."
It is presented as an "implementation detail" so I guess one should not be surprised if it stops working this way sometime in the future? :)
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
