Skip navigation links

MySQL Forums


Advanced Search

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
mysql proxy - every other query 1905 Nathan Stratton 02/22/2008 01:16PM
Re: mysql proxy - every other query 1665 John Croucher 02/23/2008 05:25AM
Re: mysql proxy - every other query 2920 Mark Smith 02/23/2008 04:13PM
Re: mysql proxy - every other query 1740 Carlo Carlo 02/26/2008 06:00AM
Re: mysql proxy - every other query 1550 Jan Kneschke 03/28/2008 12:55AM


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