refine the multiple processes architecture, remove the isolate bandwidth test process
正在显示
2 个修改的文件
包含
6 行增加
和
9 行删除
| @@ -254,21 +254,18 @@ Schema#2: SRS RTMP Edge server pull stream from origin (or upstream SRS | @@ -254,21 +254,18 @@ Schema#2: SRS RTMP Edge server pull stream from origin (or upstream SRS | ||
| 254 | +---------+---------+ +-----+-----+ | 254 | +---------+---------+ +-----+-----+ |
| 255 | --------------+------------network-------+--------- | 255 | --------------+------------network-------+--------- |
| 256 | | | | 256 | | | |
| 257 | - +-----------+ +----+-----------+ +----+------+ | ||
| 258 | - | master +--fork->-+ back source(1) +-->-pull-+ stream(2) + | ||
| 259 | - +-----+-----+ +----------------+ +-------+---+ | 257 | + +-----------+ +----+-----------+ +----+-----------+ |
| 258 | + | master +--fork->-+ back source(1) +-->-pull-+ stream 1-N(2) + | ||
| 259 | + +-----+-----+ +----------------+ +-------+--------+ | ||
| 260 | + | | | ||
| 260 | +-------------------------------------fork--->-----+ | 261 | +-------------------------------------fork--->-----+ |
| 261 | - | +-------------------+ | ||
| 262 | - +--fork->--+ bandwidth test(3) + | ||
| 263 | - +-------------------+ | ||
| 264 | 262 | ||
| 265 | Remark: | 263 | Remark: |
| 266 | (1) back source process: create by master process, get stream from | 264 | (1) back source process: create by master process, get stream from |
| 267 | - upnode server, serve the stream process. | 265 | + upnode server if edge, create stream if origin, serve the stream |
| 266 | + process. | ||
| 268 | (2) stream process: create by master process, get stream from back | 267 | (2) stream process: create by master process, get stream from back |
| 269 | source process, serve the client. | 268 | source process, serve the client. |
| 270 | -(3) bandwidth test process: create by master process, serve the | ||
| 271 | - bandwidth test client. | ||
| 272 | Remark: | 269 | Remark: |
| 273 | (a) This multiple processes architecture is design by wenjie, it's a | 270 | (a) This multiple processes architecture is design by wenjie, it's a |
| 274 | very simple and powerful multiple process architecture, for the | 271 | very simple and powerful multiple process architecture, for the |
-
请 注册 或 登录 后发表评论