ossrs / srs

SRS is a simple, high-efficiency, real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181.

Home Page:https://ossrs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KERNEL: Can you consider supporting SO_REUSEPORT?

pbesedm opened this issue · comments

TRANS_BY_GPT3

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

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

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

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