| | Description |
| ———— | ———————————— ———————— |
| Machine | 4C8G Linux JDK 1.8 (Provider) 4C8G Linux JDK 1.8 (Consumer) |
| Pressure test case | RPC method types include: no parameters and no return value, normal pojo return value, pojo list return value
2.7 version Dubbo protocol (Hessian2 serialization)
Version 3.0 Dubbo protocol (Hessian2 serialization)
3.0 version Dubbo protocol (Protobuf serialization)
3.0 version Triple protocol (Protobuf serialization)
3.0 version Triple protocol (Protobuf sets Hessian2 serialization) |
| Pressure test method | In a single-link scenario, the consumer starts 32 concurrent threads (the current machine configuration qps rt has a more balanced number of concurrency), and collects the pressure test data after continuous pressure
The pressure test data passes https: //github.com/apache/dubbo-benchmark Get |
| | Dubbo + Hessian2
2.7 | Dubbo + Hessian2
3.0 | Dubbo + Protobuf
3.0 | Triple + Protobuf
3.0 | Triple + Protobuf(Hessian)
3.0 |
| —————— | —————————– | —————————– | ——————– ——— | —————————— | ——— ——————————— |
| No parameter method | 30333 ops/s
2.5ms P99 | 30414 ops/s
2.4ms P99 | 24123 ops/s
3.2ms P99 | 7016 ops/s< br />8.7ms P99 | 6635 ops/s
9.1ms P99 |
| pojo return value | 8984 ops/s
6.1 ms P99 | 12279 ops/s
5.7 ms P99 | 21479 ops/s
3.0 ms P99 | 6255 ops/s< br />8.9 ms P99 | 6491 ops/s
10 ms P99 |
| pojo list return value | 1916 ops/s
34 ms P99 | 2037 ops/s
34 ms P99 | 12722 ops/s
7.7 ms P99 | 6920 ops/s
9.6 ms P99 | 2833 ops/s
27 ms P99 |
Figure 3 Comparison of implementations of the Dubbo protocol in different versions
Figure 4 Triple vs Dubbo
TBD
TBD