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.
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
- 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
./benchmark.sh -s [hostname|ip address] -p port -f output