On Mar 13, 1:42 am, Ease Bus <[email protected]> wrote:
> Does mysql performance with mongrel and Snow Leopard differ from its
> performance with Apache and Ubuntu?  I am experiencing the issue of
> slow performance in Ubuntu production environment compared to my
> Leopard development environment.  For the exact same code, after
> pushing to Ubuntu server, the same action/view takes much longer to
> complete and many more DB queries on the Ubuntu server:
>
> On my Leopard, I get: Completed in 643ms (DB: 322) | 302 Found
> For Ubuntu, I get:     Completed in 8803ms (DB: 517) | 302 Found
>
> The number after DB: is the number of SQL queries for that action I assume.
>
It's not - it's the amount of time spent querying the database. There
are a lot of things which could affect performance - ruby version,
mysql version, mysql configuration, physical resources available on
the server etc. Rails does behave slightly different when the
environment is set to production (as opposed to development), but that
should make things faster, not slower.

Fred
> Is there anything I should watch out for when pushing code from
> Leopard to Ubuntu?
>
> Thanks much.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to