hotfix 1.0release, remove the multiple process arch, for 2.0 supports huge conne…
…ctions, and 3.0 will use other arch without st.
正在显示
1 个修改的文件
包含
0 行增加
和
35 行删除
| @@ -722,41 +722,6 @@ Schema#2: SRS RTMP Edge server pull stream from origin (or upstream SRS | @@ -722,41 +722,6 @@ Schema#2: SRS RTMP Edge server pull stream from origin (or upstream SRS | ||
| 722 | RTMP Edge server), then delivery to Client. | 722 | RTMP Edge server), then delivery to Client. |
| 723 | </pre> | 723 | </pre> |
| 724 | 724 | ||
| 725 | -### (plan) SRS Multiple processes Architecture(design by wenjie) | ||
| 726 | - | ||
| 727 | -<pre> | ||
| 728 | - +---------------+ +--------+ | ||
| 729 | - | upnode server | + client + | ||
| 730 | - +-------+-------+ +---+----+ | ||
| 731 | - -------------+------------network-------+--------- | ||
| 732 | - | | | ||
| 733 | - +--------+ +----+-----------+ +----+----------+ | ||
| 734 | - | master +--fork->-+ back source(1) +-->-pull-+ stream 1-N(2) + | ||
| 735 | - +---+----+ +----------------+ +-------+-------+ | ||
| 736 | - | | | ||
| 737 | - +-------------------------------------fork--->-----+ | ||
| 738 | - | +-------------+ | ||
| 739 | - +-------------------fork-->-+ http/vod(3) | | ||
| 740 | - +-------------+ | ||
| 741 | -Remark: | ||
| 742 | -(1) back source process: create by master process, get stream from | ||
| 743 | - upnode server if edge, create stream if origin, serve the stream | ||
| 744 | - process. | ||
| 745 | -(2) stream process: create by master process, get stream from back | ||
| 746 | - source process, serve the client. | ||
| 747 | -(3) the embeded mininum http server, also provides vod service. for | ||
| 748 | - http server, it provides http api, hls(live/vod) delivery. for | ||
| 749 | - vod server, it slice the file to hls(m3u8/ts). | ||
| 750 | -Remark: | ||
| 751 | -(a) This multiple processes architecture is design by wenjie, it's a | ||
| 752 | - very simple and powerful multiple process architecture, for the | ||
| 753 | - master no need to pass between stream process. | ||
| 754 | -(b) The CLI architecture is similar to this, instead, cli process | ||
| 755 | - will collect informations from all stream process, master process | ||
| 756 | - only send signals to child processes. | ||
| 757 | -(c) Maybe multiple thread is ok? By winlin. | ||
| 758 | -</pre> | ||
| 759 | - | ||
| 760 | ### Bandwidth Test Workflow | 725 | ### Bandwidth Test Workflow |
| 761 | 726 | ||
| 762 | <pre> | 727 | <pre> |
-
请 注册 或 登录 后发表评论