add arvo、gson、fastsjon、protostuff
18 files changed
tree: a5a949b9d0e2e74f8c50e02f3e568e3d6da7712a
  1. .gitignore
  2. .travis.yml
  3. LICENSE
  4. README.md
  5. benchmark-base/
  6. benchmark.sh
  7. client-base/
  8. dubbo-avro-client/
  9. dubbo-avro-server/
  10. dubbo-fastjson-client/
  11. dubbo-fastjson-server/
  12. dubbo-fst-client/
  13. dubbo-fst-server/
  14. dubbo-gson-client/
  15. dubbo-gson-server/
  16. dubbo-hessianlite-client/
  17. dubbo-hessianlite-server/
  18. dubbo-kryo-client/
  19. dubbo-kryo-server/
  20. dubbo-native-hessian-client/
  21. dubbo-native-hessian-server/
  22. dubbo-protostuff-client/
  23. dubbo-protostuff-server/
  24. pom.xml
  25. server-base/
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

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