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

KERNEL: Can you consider supporting SO_REUSEPORT? #775

Closed
pbesedm opened this issue Feb 20, 2017 · 5 comments
Closed

KERNEL: Can you consider supporting SO_REUSEPORT? #775

pbesedm opened this issue Feb 20, 2017 · 5 comments
Assignees
Labels
Feature It's a new feature. TransByAI Translated by AI/GPT.
Milestone

Comments

@pbesedm
Copy link
Contributor

pbesedm commented Feb 20, 2017

TRANS_BY_GPT3

@winlinvip winlinvip changed the title 能否考虑支持SO_REUSEPORT? KERNEL:能否考虑支持SO_REUSEPORT? Feb 25, 2017
@winlinvip winlinvip added the Feature It's a new feature. label Feb 25, 2017
@winlinvip winlinvip added this to the srs 3.0 release milestone Feb 25, 2017
@winlinvip
Copy link
Member

winlinvip commented Feb 25, 2017

Are multiple unrelated processes listening on a port using REUSEPORT?
Shouldn't this be set during the listen process? Can you submit a PR?

TRANS_BY_GPT3

@pbesedm
Copy link
Contributor Author

pbesedm commented Feb 25, 2017

SO_REUSEPORT allows multiple processes to listen on the same port. If this feature is available, it seems that srs-dolphin is not useful anymore.

For more details, please refer to: https://my.oschina.net/miffa/blog/390931

TRANS_BY_GPT3

@winlinvip
Copy link
Member

winlinvip commented Feb 25, 2017

Yes, I have heard about this before, but it only works on Linux kernel 3.9. I have already switched from using Dolphin to Oryx.

TRANS_BY_GPT3

@winlinvip
Copy link
Member

winlinvip commented Apr 25, 2017

There is another way, which is to maintain the TCP state in the kernel, so that the program can resume its state and continue serving after a restart (such as an upgrade or crash).

TRANS_BY_GPT3

winlinvip added a commit that referenced this issue Oct 3, 2019
@winlinvip
Copy link
Member

@winlinvip winlinvip self-assigned this Sep 17, 2021
@winlinvip winlinvip changed the title KERNEL:能否考虑支持SO_REUSEPORT? KERNEL: Can you consider supporting SO_REUSEPORT? Jul 28, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature It's a new feature. TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

2 participants