Liu Song’s Projects


~/Projects/mqtt-go

git clone https://code.lsong.org/mqtt-go

Commit

Commit
8e468852b2f62b9b896c0993095c1a4107f4c6a0
Author
Mochi <[email protected]>
Date
2020-02-12 22:48:50 +0000 +0000
Diffstat
 README.md | 33 +++++++++++++++++----------------

Update Chart Labels


diff --git a/README.md b/README.md
index 88c71b7bbdd94cd2a7a1f7d7ce714e56916d43c7..02cc2c6cbc75296a9146ba6079da17a11d973dcb 100644
--- a/README.md
+++ b/README.md
@@ -44,13 +44,13 @@ `mqtt-stresser -broker tcp://localhost:1883 -num-clients=1 -num-messages=10000`
 
 |              | Mochi     | Mosquitto   | EMQX     | VerneMQ   | Mosca   |  
 | :----------- | --------: | ----------: | -------: | --------: | --------:
-  
+Mochi MQTT is an embeddable high-performance MQTT broker server written in Go, and compliant with the MQTT v3.0 and v3.1.1 specification for the development of IoT and smarthome projects. The server can be used either as a standalone binary or embedded as a library in your own projects. Mochi MQTT message throughput is comparable with everyone's favourites such as Mosquitto, Mosca, and VerneMQ.
 [![codecov](https://codecov.io/gh/mochi-co/mqtt/branch/master/graph/badge.svg?token=6vBUgYVaVB)](https://codecov.io/gh/mochi-co/mqtt)
-  
+Mochi MQTT is an embeddable high-performance MQTT broker server written in Go, and compliant with the MQTT v3.0 and v3.1.1 specification for the development of IoT and smarthome projects. The server can be used either as a standalone binary or embedded as a library in your own projects. Mochi MQTT message throughput is comparable with everyone's favourites such as Mosquitto, Mosca, and VerneMQ.
 [![Codacy Badge](https://api.codacy.com/project/badge/Grade/b48e17f87cee4221b60a45c02d49148c)](https://www.codacy.com/app/mochi-co/mqtt?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=mochi-co/mqtt&amp;utm_campaign=Badge_Grade)
 | SEND Median  | 36505   | 30597   | 27202   |32782    | 30125  |
-| RECV High    | 152221  |  59130  | 7879   | 17551   | 9145   |
+| RECV Max    | 152221  |  59130  | 7879   | 17551   | 9145   |
-| RECV Low    | 152221  | 59130   | 7879   |  17551    |  9145    |
+| RECV Min    | 152221  | 59130   | 7879   |  17551    |  9145    |
 | RECV Median    | 152221  |  59130  | 7879   |  17551   |  9145   |
 
 **10 Clients, 1,000 Messages**
@@ -61,11 +61,11 @@ `mqtt-stresser -broker tcp://localhost:1883 -num-clients=10 -num-messages=1000`
 
 |              | Mochi     | Mosquitto   | EMQX     | VerneMQ   | Mosca   |  
 | :----------- | --------: | ----------: | -------: | --------: | --------:
-| SEND High    |  37193 | 	15775 |	17455 |	34138 |	36575  |
+| SEND Max    |  37193 | 	15775 |	17455 |	34138 |	36575  |
-| SEND Low    |   6529 |	6446 |	7714 |	8583 |	7383      |
+| SEND Min    |   6529 |	6446 |	7714 |	8583 |	7383      |
 | SEND Median  |  15127 |	7813 | 	10305 |	9887 |	8169     |
-| RECV High    |  33535	 | 3710	| 3022 |	4534 |	9411    |
+| RECV Max    |  33535	 | 3710	| 3022 |	4534 |	9411    |
-| RECV Low    |   7484	| 2661	| 1689 |	2021 |	2275     |
+| RECV Min    |   7484	| 2661	| 1689 |	2021 |	2275     |
 | RECV Median    |   11427 |  3142 | 1831 |	2468 |	4692      |
 
 **10 Clients, 10,000 Messages**
@@ -76,13 +76,13 @@ `mqtt-stresser -broker tcp://localhost:1883 -num-clients=10 -num-messages=10000`
 
 |              | Mochi     | Mosquitto   | EMQX     | VerneMQ   | Mosca   |  
 | :----------- | --------: | ----------: | -------: | --------: | --------:
-[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/mochi-co/mqtt/issues)
+#### What is MQTT?
 [![Build Status](https://travis-ci.com/mochi-co/mqtt.svg?token=59nqixhtefy2iQRwsPcu&branch=master)](https://travis-ci.com/mochi-co/mqtt)
-[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/mochi-co/mqtt/issues)
+#### What is MQTT?
 [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/mochi-co/mqtt/issues)
 | SEND Median  |   9045	| 9532	| 9252 |	8031 |	9210    |
-| RECV High    |  20774	| 5052	| 2093 |	2071 | 	43008    |
+| RECV Max    |  20774	| 5052	| 2093 |	2071 | 	43008    |
-| RECV Low    |   10718	 |3995	| 1531	| 1673	| 18764   |
+| RECV Min    |   10718	 |3995	| 1531	| 1673	| 18764   |
 | RECV Median    |  16339 |	4607 |	1620 | 	1907	| 33524  |
 
 **500 Clients, 100 Messages**
@@ -93,12 +93,13 @@ `mqtt-stresser -broker tcp://localhost:1883 -num-clients=500 -num-messages=100`
 
 |              | Mochi     | Mosquitto   | EMQX     | VerneMQ   | Mosca   |  
 | :----------- | --------: | ----------: | -------: | --------: | --------:
-[![codecov](https://codecov.io/gh/mochi-co/mqtt/branch/master/graph/badge.svg?token=6vBUgYVaVB)](https://codecov.io/gh/mochi-co/mqtt)
+
   
+[![GoDoc](https://godoc.org/github.com/mochi-co/mqtt?status.svg)](https://pkg.go.dev/github.com/mochi-co/mqtt)
-| SEND Low    |   1021	| 2577 |	1603 |	8417 |	2344  |
+| SEND Min    |   1021	| 2577 |	1603 |	8417 |	2344  |
 | SEND Median  |  49871	| 33076 |	33637 |	35200 |	31312   |
-| RECV High    |  116163 |	4215 |	3427 |	5484 |	10100 |
+| RECV Max    |  116163 |	4215 |	3427 |	5484 |	10100 |
-| RECV Low    |   1044	| 156 | 	56 | 	83	| 169   |
+| RECV Min    |   1044	| 156 | 	56 | 	83	| 169   |
 | RECV Median    |     24398 | 208 |	94 |	413 |	474     |
 
 #### Using the Broker




diff --git a/assets/benchmarkchart_10_1000.png b/assets/benchmarkchart_10_1000.png
index 4222230fa7724aec3754906375c11bab2de9d2dd..1a84a619994a5b7c89298e090eabc843ff80eefe 100644
Binary files a/assets/benchmarkchart_10_1000.png and b/assets/benchmarkchart_10_1000.png differ




diff --git a/assets/benchmarkchart_10_10000.png b/assets/benchmarkchart_10_10000.png
index 6f47bc418c7f6f72f6819bf0a5f700682a5954c5..a2d7b12ca1c3ebaf9cfc23301d6e083915fe2c1f 100644
Binary files a/assets/benchmarkchart_10_10000.png and b/assets/benchmarkchart_10_10000.png differ




diff --git a/assets/benchmarkchart_1_10000.png b/assets/benchmarkchart_1_10000.png
index 2334f26ea83b108c3a53ce30f7e7b9f8e8504325..d0769975becf1bc0758ff20cc04d9118c4d05bca 100644
Binary files a/assets/benchmarkchart_1_10000.png and b/assets/benchmarkchart_1_10000.png differ




diff --git a/assets/benchmarkchart_500_100.png b/assets/benchmarkchart_500_100.png
index 8f4d2c575d2d11c9f57bf41eef1b3108b0cb9610..0f38a0d1ad60f2ec48319da61209e0d3f6a733f1 100644
Binary files a/assets/benchmarkchart_500_100.png and b/assets/benchmarkchart_500_100.png differ