mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
hotfix 1.0release, remove the multiple process arch, for 2.0 supports huge connections, and 3.0 will use other arch without st.
This commit is contained in:
parent
e8b3a0f022
commit
49daee34b4
1 changed files with 0 additions and 35 deletions
35
README.md
35
README.md
|
@ -722,41 +722,6 @@ Schema#2: SRS RTMP Edge server pull stream from origin (or upstream SRS
|
||||||
RTMP Edge server), then delivery to Client.
|
RTMP Edge server), then delivery to Client.
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
### (plan) SRS Multiple processes Architecture(design by wenjie)
|
|
||||||
|
|
||||||
<pre>
|
|
||||||
+---------------+ +--------+
|
|
||||||
| upnode server | + client +
|
|
||||||
+-------+-------+ +---+----+
|
|
||||||
-------------+------------network-------+---------
|
|
||||||
| |
|
|
||||||
+--------+ +----+-----------+ +----+----------+
|
|
||||||
| master +--fork->-+ back source(1) +-->-pull-+ stream 1-N(2) +
|
|
||||||
+---+----+ +----------------+ +-------+-------+
|
|
||||||
| |
|
|
||||||
+-------------------------------------fork--->-----+
|
|
||||||
| +-------------+
|
|
||||||
+-------------------fork-->-+ http/vod(3) |
|
|
||||||
+-------------+
|
|
||||||
Remark:
|
|
||||||
(1) back source process: create by master process, get stream from
|
|
||||||
upnode server if edge, create stream if origin, serve the stream
|
|
||||||
process.
|
|
||||||
(2) stream process: create by master process, get stream from back
|
|
||||||
source process, serve the client.
|
|
||||||
(3) the embeded mininum http server, also provides vod service. for
|
|
||||||
http server, it provides http api, hls(live/vod) delivery. for
|
|
||||||
vod server, it slice the file to hls(m3u8/ts).
|
|
||||||
Remark:
|
|
||||||
(a) This multiple processes architecture is design by wenjie, it's a
|
|
||||||
very simple and powerful multiple process architecture, for the
|
|
||||||
master no need to pass between stream process.
|
|
||||||
(b) The CLI architecture is similar to this, instead, cli process
|
|
||||||
will collect informations from all stream process, master process
|
|
||||||
only send signals to child processes.
|
|
||||||
(c) Maybe multiple thread is ok? By winlin.
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
### Bandwidth Test Workflow
|
### Bandwidth Test Workflow
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
|
|
Loading…
Reference in a new issue