From 035cd40866dca5e9d9a8f5141a0f2329f3a1456e Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 13 Aug 2015 21:55:05 +0800 Subject: [PATCH 1/2] add bytes api benchmark. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 01c5e1a55..8fcf1276e 100755 --- a/README.md +++ b/README.md @@ -756,6 +756,17 @@ About the HLS overhead of SRS, we compare the overhead to FLV by remux the HLS t The HLS overhead is calc by: (HLS - FLV) / FLV * 100% +### Bytes Api + +The api provides bytes of vhost, stream and srs. + +| Connections | tcpdump | srs | deviation | +| 1 | 201687968 | 201687968 | 0% | +| 100 | 12456042662 | 12458284053 | 0.018% | +| 500 | 11623083989 | 11633158616 | 0.087% | + +The tcpdump command is `tcpdump src 192.168.1.151 and port 1935 -i eth0 and tcp -ql`. + ## Architecture SRS always use the most simple architecture to support complex transaction. From c02da33c115e89fb65bbb6adee221b2f3253c8f3 Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 13 Aug 2015 21:57:18 +0800 Subject: [PATCH 2/2] add bytes api benchmark. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8fcf1276e..d6a33c5fd 100755 --- a/README.md +++ b/README.md @@ -761,6 +761,7 @@ The HLS overhead is calc by: (HLS - FLV) / FLV * 100% The api provides bytes of vhost, stream and srs. | Connections | tcpdump | srs | deviation | +| ----------- | ---------- | ---------- | --------- | | 1 | 201687968 | 201687968 | 0% | | 100 | 12456042662 | 12458284053 | 0.018% | | 500 | 11623083989 | 11633158616 | 0.087% |