~/Projects/mqtt-go
git clone https://code.lsong.org/mqtt-go
Commit
- Commit
- e7eeba7d1650b0a0b7758bafe41e094cbbd9aa39
- Author
- Mochi <[email protected]>
- Date
- 2020-02-12 20:01:41 +0000 +0000
- Diffstat
README.md | 10 ++++++++++
Image test
diff --git a/README.md b/README.md index db916384cbcf6bb20d984b408ec604c5eff9ce4c..9e8f69c3062c5cebb9614e0d69c2be9486eb805c 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,11 @@ Higher is better. As usual, any performance benchmarks should be taken with a pinch of salt, but are shown to demonstrate typical throughput compared to the other leading MQTT brokers. **Single Client, 10,000 messages** + ### A High-performance MQTT server in Go (v3.0 | v3.1.1) + + +- Ring Buffer packet codec. @@ -41,6 +45,7 @@ | RECV Median | 152221 | 59130 | 7879 | 17551 | 9145 | **10 Clients, 1,000 Messages** +`mqtt-stresser -broker tcp://localhost:1883 -num-clients=10 -num-messages=1000` | | Mochi | Mosquitto | EMQX | VerneMQ | Mosca | | :----------- | --------: | ----------: | -------: | --------: | --------: @@ -51,8 +56,11 @@ | RECV High | 33535 | 3710 | 3022 | 4534 | 9411 | | RECV Low | 7484 | 2661 | 1689 | 2021 | 2275 | | RECV Median | 11427 | 3142 | 1831 | 2468 | 4692 | + **500 Clients, 100 Messages** + `mqtt-stresser -broker tcp://localhost:1883 -num-clients=500 -num-messages=100` + | | Mochi | Mosquitto | EMQX | VerneMQ | Mosca | | :----------- | --------: | ----------: | -------: | --------: | --------: | SEND High | 70688 | 72686 | 71392 | 75336 | 73192 | @@ -63,7 +71,9 @@ | RECV Low | 1044 | 156 | 56 | 83 | 169 | | RECV Median | 24398 | 208 | 94 | 413 | 474 | **10 Clients, 10,000 Messages** + `mqtt-stresser -broker tcp://localhost:1883 -num-clients=10 -num-messages=10000` + | | Mochi | Mosquitto | EMQX | VerneMQ | Mosca | | :----------- | --------: | ----------: | -------: | --------: | --------: | SEND High | 13153 | 13270 | 12229 | 13025 | 38446 |