Merge pull request #49 from icodening/dashboard

add benchmark dashboard support
tree: 91e13f00fd22b8a2579c05de14829f22f97d883f
  1. .github/
  2. benchmark-base/
  3. benchmark-dashboard/
  4. client-base/
  5. dubbo-avro-client/
  6. dubbo-avro-server/
  7. dubbo-fastjson-client/
  8. dubbo-fastjson-server/
  9. dubbo-fastjson2-client/
  10. dubbo-fastjson2-server/
  11. dubbo-fst-client/
  12. dubbo-fst-server/
  13. dubbo-go-client/
  14. dubbo-go-server/
  15. dubbo-go-triple-client/
  16. dubbo-go-triple-server/
  17. dubbo-grpc-client/
  18. dubbo-grpc-server/
  19. dubbo-gson-client/
  20. dubbo-gson-server/
  21. dubbo-hessianlite-client/
  22. dubbo-hessianlite-server/
  23. dubbo-kryo-client/
  24. dubbo-kryo-server/
  25. dubbo-metrics-client/
  26. dubbo-metrics-server/
  27. dubbo-native-hessian-client/
  28. dubbo-native-hessian-server/
  29. dubbo-pb-client/
  30. dubbo-pb-server/
  31. dubbo-protobuf-json-client/
  32. dubbo-protobuf-json-server/
  33. dubbo-protostuff-client/
  34. dubbo-protostuff-server/
  35. dubbo-triple-client/
  36. dubbo-triple-server/
  37. native-grpc-client/
  38. native-grpc-server/
  39. server-base/
  40. springcloud-client/
  41. springcloud-server/
  42. .asf.yaml
  43. .gitignore
  44. benchmark-go.sh
  45. benchmark.sh
  46. go.mod
  47. go.sum
  48. LICENSE
  49. pom.xml
  50. prepare.sh
  51. 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