Clone this repo:
  1. 2af8f4d :sparkles: add metrics test (#37) by songxiaosheng · 6 weeks ago master
  2. 3e53a99 Bump dubbo from 3.1.0 to 3.1.1 (#34) by dependabot[bot] · 3 months ago
  3. 39fa505 Bump protobuf-java from 3.7.1 to 3.16.3 in /dubbo-pb-client (#28) by dependabot[bot] · 8 months ago
  4. dcd8ed7 Bump protobuf-java from 3.7.1 to 3.16.3 in /dubbo-grpc-client (#27) by dependabot[bot] · 8 months ago
  5. 77a23c2 Bump protobuf-java from 3.7.1 to 3.16.3 in /benchmark-base (#25) by dependabot[bot] · 8 months ago

Dubbo Benchmark

Build Status

This project focuses on benchmarking and profiling dubbo framework with the combination of different serialization and transporter options. The code and the idea behinds it is inspired by RPC Benchmark.

How To Run Benchmark

Clone this project onto your desktop, then

  • Start the target server first, for example:
./benchmark.sh dubbo-kryo-server
  • Start the corresponding client, for example:
./benchmark.sh dubbo-kryo-client
  • If you want run dubbo-go benchmark, use the script benchmark-go.sh, for example:
./benchmark-go.sh dubbo-go-triple-server
./benchmark-go.sh dubbo-go-triple-client

#You can use -h to see the configurable parameters, for example:
./benchmark-go.sh dubbo-go-triple-client -h

How to Run Profiling

  • Start the target server in profiling mode, for example:
./benchmark.sh -m profiling dubbo-kryo-server
  • Start the corresponding client, for example:
./benchmark.sh dubbo-kryo-client

Specify hostname, port and output file for service

./benchmark.sh -s [hostname|ip address] -p port -f output