Clone this repo:
  1. b0d233e add kryo by icodening · 7 weeks ago jmh_result master
  2. a31e8d4 add gson, native-hessian, pb, protostuff by icodening · 7 weeks ago
  3. 95e5012 recovery dubbo compiler version by icodening · 7 weeks ago
  4. 7df2a24 add spring cloud benchmark by icodening · 7 weeks ago
  5. a052535 rename org.apache.dubbo.benchmark.Client to org.apache.dubbo.benchmark.ClientSimple by icodening · 8 weeks 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