Skip to content
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

Create a suite of benchmarking and stress tests for the pyzor server #4

Open
alexkiro opened this issue Jun 6, 2014 · 1 comment
Open

Comments

@alexkiro
Copy link
Contributor

alexkiro commented Jun 6, 2014

In order to evaluate various improvements and new technologies we are considering adding to the pyzor server we would require a suite of tests.

@alexkiro alexkiro added this to the 0.8 milestone Jun 6, 2014
@alexkiro alexkiro self-assigned this Jun 6, 2014
@alexkiro alexkiro modified the milestones: 0.8, 0.9 Jul 15, 2014
@alexkiro alexkiro removed this from the 0.9 milestone Sep 17, 2014
@alexkiro
Copy link
Contributor Author

A brief summary of benchmarking results. This is using a pyzord server with mysql engine and no multi-treading/multi-processing activated as a baseline.

  • Using Gevent gives a 10% performance increase
  • Using Redis instead of MySQL gives a 10% performance increase
  • Using multi-threading gives a 50% performance decrease (although this does mean that we would be able to handle multiple connections at a time, so it might be better with real life traffic)
  • Using PyPy instead of CPython gives a staggering 400% performance increase, with a considerable bigger start-up cost.
  • Using PyPy instead of CPython and multi-threading gives the same 400% performance increase.

Would also be interesting to see how Python3 performs.

@alexkiro alexkiro removed their assignment Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant