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

Don Stocks
Wed, 12 Jul 2006 22:03:04 -0000

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.

Does ActiveRecord::Base.allow_concurrency = true have any affect on how
Rails uses the MySQL client?  Or is this more application framework
specific?

 - Don