Saturday, June 26, 2010

[Rails] disabling 'show status' in activerecord because of overhead of spawning process

hi,
i have a app which has a spiky activity, there a large period of
inactivity between request. With phusion-passenger after a period of
inactivity the process is killed, and when the app is respawned the
'show status' queries take more time than the actual sql themself.

I know that ActiveRecord makes the 'show status' query once on
spawning the server, but is there some way of disabling 'show status'
in activerecord, because of overhead of spawning process.

Alternatively, can i cache only the 'show status' queries in memcache/
redis

thanks,
deepak

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate