fix: add a blank lines at end
5 files changed
tree: 9d451e253e4372e5dfdb4fac2355029cd3635e65
  1. .github/
  2. benchmark-base/
  3. client-base/
  4. dubbo-avro-client/
  5. dubbo-avro-server/
  6. dubbo-fastjson-client/
  7. dubbo-fastjson-server/
  8. dubbo-fst-client/
  9. dubbo-fst-server/
  10. dubbo-go-client/
  11. dubbo-go-server/
  12. dubbo-go-triple-client/
  13. dubbo-go-triple-server/
  14. dubbo-grpc-client/
  15. dubbo-grpc-server/
  16. dubbo-gson-client/
  17. dubbo-gson-server/
  18. dubbo-hessianlite-client/
  19. dubbo-hessianlite-server/
  20. dubbo-kryo-client/
  21. dubbo-kryo-server/
  22. dubbo-native-hessian-client/
  23. dubbo-native-hessian-server/
  24. dubbo-pb-client/
  25. dubbo-pb-server/
  26. dubbo-protobuf-json-client/
  27. dubbo-protobuf-json-server/
  28. dubbo-protostuff-client/
  29. dubbo-protostuff-server/
  30. dubbo-triple-client/
  31. dubbo-triple-server/
  32. server-base/
  33. .asf.yaml
  34. .gitignore
  35. benchmark-go.sh
  36. benchmark.sh
  37. go.mod
  38. go.sum
  39. LICENSE
  40. pom.xml
  41. README.md
README.md

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