Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: For FreeBSD based systems, enable connection load balancing in case of multiple listeners. #105

Open
chaitanyaprem opened this issue May 26, 2023 · 2 comments
Labels
help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature

Comments

@chaitanyaprem
Copy link
Contributor

Enhancement

In linux based systems, setting SO_REUSEPORT socket option and binding multiple listening sockets enables kernel to perform connection load balancing onto all listeners.
Whereas this is not implemented in windows and macOS.

But for FreeBSD based systems, an additional socket option called SO_REUSEPORT_LB has to be enabled in order for this load balancing to take place. It is described here.

Hence, this is an enhancement issue to enable this new option for freeBSD based systems.

@Stebalien Stebalien added kind/enhancement A net-new feature or improvement to an existing feature help wanted Seeking public contribution on this issue labels Jun 6, 2023
@marten-seemann
Copy link
Contributor

This sounds correct. @chaitanyaprem, do you want to submit a PR?

@chaitanyaprem
Copy link
Contributor Author

This sounds correct. @chaitanyaprem, do you want to submit a PR?

Sure, I can.
Don't have a way to test this though. Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

3 participants