[Rails] Re: Database Concurrency Without a Web Server?

snacktime
Wed, 12 Jul 2006 22:34:21 -0000

On 7/12/06, Don Stocks <amillionhitpoints@yahoo.com>
wrote:
> Don Stocks wrote:
>
> > that all that''s needed for Rails connection pooling?  Will
Rails and the
> > MySQL client (on Linux) make mulitple / simultaneous / non-blocking db
> > queries through one MySQL connection when in the script/runner
context?
>
> OK.  I think I answered that question.  Using MySQL Administrator (the
> GUI tool) I can see in the Connection Health monitor there are times
> that more than one query is running at a time.
>
> So if those queries are not blocking then I can rule out the MySQL
> client as the cause of the work slow downs.

Yes it does block.  You need to use a framework that has a non
blocking connection pool mechanism built into it.