Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

solonlab/demo_solon_and_spring-gateway

Repository files navigation

案例1-测试(gateway-solon)

  1. 编译 项目
  2. 运行 demo-gateway-solon 的 DemoGatewayApp(端口 8000)
  3. 运行 demo-service-solon 的 DemoServerApp(端口 8080)
  4. 调试 运行 demo-service-solon/test 下面的单测

案例2-测试(gateway-string)

  1. 编译 项目
  2. 运行 demo-gateway-spring 的 DemoGatewayApplication(端口 8000)
  3. 运行 demo-service-solon 的 DemoServerApp(端口 8080)
  4. 调试 运行 demo-service-solon/test 下面的单测

简单压测参考:

  1. 重启动电脑,并尽量不要打开其它软件
  2. 运行 wrk 命令(或别的测试工具),运行4次
wrk -t10 -c100 -d10s --latency "http://localhost:8000/demo/model/add?modelId=4"

About

demo_solon_and_spring

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

Languages

AltStyle によって変換されたページ (->オリジナル) /