performance trial of http back-end server framework
-
HTTP benchmarking tool: wrk-Modern HTTP benchmarking tool
-
CHART UI: echart-baidu echart
here contains following frameworks:
node : express koa hapi
python: django
go: iris
...
or you can start your own framework
- start your frameworks(
runserver
script may not suitable for you.) - set the
taskconfig.js
file .target
is the task array ;wrk_arg
is the wrk cli arguments. wrk.lua
is the wrk script .- run
node --harmony-async-await index.js
ornpm start
and wait; - the result will show up in your defualt browser.
-
if you cant use this binary wrk you can build it on your own
-
the
async/await
require node verison 7.xx & with"runtimeArgs": ["--harmony"]
. If your node version dont support this ,you can use babel.
npm install
npm babelstart
#or
node babel_starter.js
I think the python result is not accurate.but iris seems really fast.