winlin

add bytes api benchmark.

正在显示 1 个修改的文件 包含 11 行增加0 行删除
@@ -756,6 +756,17 @@ About the HLS overhead of SRS, we compare the overhead to FLV by remux the HLS t @@ -756,6 +756,17 @@ About the HLS overhead of SRS, we compare the overhead to FLV by remux the HLS t
756 756
757 The HLS overhead is calc by: (HLS - FLV) / FLV * 100% 757 The HLS overhead is calc by: (HLS - FLV) / FLV * 100%
758 758
  759 +### Bytes Api
  760 +
  761 +The api provides bytes of vhost, stream and srs.
  762 +
  763 +| Connections | tcpdump | srs | deviation |
  764 +| 1 | 201687968 | 201687968 | 0% |
  765 +| 100 | 12456042662 | 12458284053 | 0.018% |
  766 +| 500 | 11623083989 | 11633158616 | 0.087% |
  767 +
  768 +The tcpdump command is `tcpdump src 192.168.1.151 and port 1935 -i eth0 and tcp -ql`.
  769 +
759 ## Architecture 770 ## Architecture
760 771
761 SRS always use the most simple architecture to support complex transaction. 772 SRS always use the most simple architecture to support complex transaction.