21:57 mysql-proxy, urgh performance and scalability ? » MySQL Performance Blog

For one our project I needed proxy solution, and mysql-proxy is one of well-known, so it was logical first choice. The obvious question which come in mind is what performance penalty we have using mysql-proxy, version 0.7.1.
So it is easy to test. (By the way sysbench recently was pushed to Launchpad, see lp:sysbench, and Percona is going to be active developer of this project and scripting benchmarks).

I took lp:sysbench with LUA script oltp_complex_ro, and tested for couple connections, here are results (in transactions per second, more is better)

Threads MySQL-5.0.77 MySQL-proxy+MySQL-5.0.77
1 660.02 349.86
2 1158.66 477.77
4 1223.84 485.21
8 1224.22 455.69
16 1109.72 441.55
32 1059.23 419.05
64 909.98 414.30
128 882.46 406.28

ok, and let’s look on response time (for 1 thread).

MySQL

per-request statistics:
min: 1.31ms
avg: 1.51ms
max: 5.30ms
approx. 95 percentile: 1.56ms

Proxy+MySQL

per-request statistics:
min: 2.04ms
avg: 2.86ms
max: 6.44ms
approx. 95 percentile: 4.30ms

Well, I expected some penalty of using proxy… but 2-3x times, that’s overkill. Worth to consider if you want to run Query Analyzer with MySQL-proxy on your MySQL Enterprise setup.

There is alternative - Dormando-proxy, which I want to try also, but the problem is it crashed under sysbench load, so I was not able to get any results yet.


Entry posted by Vadim | One comment

Add to: delicious | digg | reddit | netscape | Google Bookmarks

17:11 Share your Web Analytics Story » Google Analytics Blog
How do you use web analytics? Do you share data as part of a regular planning meeting? Do you log in once in awhile just to see how things are going?

We want to know! We're gathering information to help prioritize new features and improve Google Analytics and we need your help. If you've used web analytics data to make decisions inside your business or organization, get in touch and tell us how. Email us at gacasestudies@google.com.

We'll republish the most interesting stories here on the blog and we'll even send you a free Google Analytics tee-shirt if your story gets published. We're ready and waiting, so drop us a line!


^==Back Home: www.chedong.com

^==Back Digest Home: www.chedong.com/digest/

<== 2009-06-08
  六月 2009  
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
==> 2009-06-10