【文件属性】:
文件名称:akka-http-benchmark:akka-http基准测试
文件大小:724KB
文件格式:ZIP
更新时间:2021-05-16 23:46:04
clojure performance scala akka-http restful-api
Web API基准
服务器使用akka-http 10.0.11
跑步
sbt clean compile
sbt run
运行基准
服务器配置
$ system_profiler SPHardwareDataType | grep " Memory:"
Memory: 16 GB
$ system_profiler SPHardwareDataType | grep Cores:
Total Number of Cores: 4
$ system_profiler SPHardwareDataType | grep Processors:
Number of Processors: 1
1- 100,000个请求的并发性为100
ab -n 100000 -c 100 -k http://127.0.0.1:9191/chat
This is
【文件预览】:
akka-http-benchmark-master
----perf_1_million.png(454KB)
----project.clj(642B)
----src()
--------akka_http_benchmark.clj(814B)
--------main()
----build.sbt(294B)
----.gitignore(14B)
----project()
--------plugins.sbt(0B)
--------build.properties(19B)
----perf_0.1_million.png(436KB)
----README.md(6KB)