MySQL Forums
Forum List  »  Router & Proxy

Re: mysql proxy - every other query
Posted by: Mark Smith
Date: February 23, 2008 04:13PM

I'm getting the exact same issue. The proxy is being run the same way: configuring the backend as the master and the read-only backend as the slave, then sending queries.

I'm seeing the same pattern: 10 queries work, then it starts failing on every other query.

I did some investigation, and the problem happens when it uses a pooled connection. The first 10 queries go through okay because it is spawning new connections to the backends (it goes up to 5 idle per backend), then the 11th query tries to re-use an idle backend and it fails.

This is easily reproduced as above. I'm using 0.6.1 as downloaded from the web site on this past Wednesday.

I'm attempting to use this in production as a proof of concept for Mozilla's Bugzilla-EU installation. We have a slave database in Amsterdam that would be great to send read traffic to for serving up a local Bugzilla instance.

Thanks for your help.

Options: ReplyQuote


Subject
Views
Written By
Posted
5168
February 22, 2008 01:16PM
3335
February 23, 2008 05:25AM
Re: mysql proxy - every other query
6022
February 23, 2008 04:13PM
3499
February 26, 2008 06:00AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.