addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupsimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1outlookpersonJoin Group on CardStartprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Re: [ruby-81] Dual-application access to a MySQL database...

From: Alex W.
Sent on: Friday, February 29, 2008 7:14 PM
My guess is that its slow in comparison to the C based library.

-Alex

On Feb 29, 2008, at 11:01 AM, Bess Ho wrote:

WARNING: You're using the Ruby-based MySQL library that ships with Rails.
This library is not suited for production. Please install the C-based MySQL
library instead (gem install mysql).

-Sam.

Can someone explain why Ruby-based MySQL library is not suite for production?

On Fri, Feb 29, 2008 at 10:04 AM, Jim <[address removed]> wrote:
On 2/29/08 8:26 AM, Sam Pierson wrote:
>
> Re question 1:
>
> Yes the database engines can handle concurrency.
> For Rails, however, you need to add this to your environment.rb
>
> config.active_record.allow_concurrency = true

And it bears repeating that if you set this true, do *not* try to use
threading -- it will likely go bad for you. Also, if you're doing any
asynch processing, be very careful how you handle your db connections.

--j

--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
http://ruby.meetup.com/81
This message was sent by Jim ([address removed]) from The East Bay Ruby Meetup Group.
To learn more about Jim, visit his/her member profile: http://ruby.meetup.com/81/members/4222118/
To unsubscribe or to update your mailing list settings, click here: http://www.meetup.com/account/?tab=comm

Meetup.com Customer Service: [address removed]
632 Broadway New York NY 10012 USA





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Bess Ho ([address removed]) from The East Bay Ruby Meetup Group.
To learn more about Bess Ho, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup.com Customer Service: [address removed]
632 Broadway New York NY 10012 USA

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy