-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Japronto] Support multicore #366
Conversation
python/japronto/server.py
Outdated
@@ -18,4 +20,4 @@ def get_user(request): | |||
app.router.add_route('/user', create_user, 'POST') | |||
app.router.add_route('/user/{id}', get_user, 'GET') | |||
|
|||
app.run(host='0.0.0.0', port=3000) | |||
app.run(host='0.0.0.0', worker_num=int(sys.argv[2]), port=3000) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sys.argv[2]
does not exists
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed, sorry, I made the change directly in the GitHub interface ... :P
@agalera Thanks for your contribution, I've fixed the above mistake. You can give me right write if you want me to fix ❤️ |
Awesome, comparing current and master give me those results
🎉 PS : Those tests are done on a |
* use io (stderr chanel) instead of file on benchmark (#365) * [Japronto] Support multicore (#366) * support multicore * Support multicore * fix typo * update koa to 2.5.3 (#367) * setup dependencies.io * specify python version on dependencies.yml * specify python version under x.y.z format for deps
* use io (stderr chanel) instead of file on benchmark (the-benchmarker#365) * [Japronto] Support multicore (the-benchmarker#366) * support multicore * Support multicore * fix typo * update koa to 2.5.3 (the-benchmarker#367) * setup dependencies.io * specify python version on dependencies.yml * specify python version under x.y.z format for deps
No description provided.