1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine the multiple processes architecture, remove the isolate bandwidth test process

This commit is contained in:
winlin 2014-03-05 10:34:17 +08:00
parent a488ef8317
commit 8bdf98afa5
2 changed files with 12 additions and 15 deletions

View file

@ -254,21 +254,18 @@ Schema#2: SRS RTMP Edge server pull stream from origin (or upstream SRS
+---------+---------+ +-----+-----+ +---------+---------+ +-----+-----+
--------------+------------network-------+--------- --------------+------------network-------+---------
| | | |
+-----------+ +----+-----------+ +----+------+ +-----------+ +----+-----------+ +----+-----------+
| master +--fork->-+ back source(1) +-->-pull-+ stream(2) + | master +--fork->-+ back source(1) +-->-pull-+ stream 1-N(2) +
+-----+-----+ +----------------+ +-------+---+ +-----+-----+ +----------------+ +-------+--------+
| |
+-------------------------------------fork--->-----+ +-------------------------------------fork--->-----+
| +-------------------+
+--fork->--+ bandwidth test(3) +
+-------------------+
Remark: Remark:
(1) back source process: create by master process, get stream from (1) back source process: create by master process, get stream from
upnode server, serve the stream process. upnode server if edge, create stream if origin, serve the stream
process.
(2) stream process: create by master process, get stream from back (2) stream process: create by master process, get stream from back
source process, serve the client. source process, serve the client.
(3) bandwidth test process: create by master process, serve the
bandwidth test client.
Remark: Remark:
(a) This multiple processes architecture is design by wenjie, it's a (a) This multiple processes architecture is design by wenjie, it's a
very simple and powerful multiple process architecture, for the very simple and powerful multiple process architecture, for the