When you use fcgi/mongrel, you have a persistent rails process. Which
in production mode, by default, caches all the modules.
-Pratik
On 12/22/06, Jason Bowerman
<jasjbow-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> Is there a way to get a web server to use memory caching, but in a way
> that plays well with Rails caching?
>
> Apache has memory caching (mod_mem_cache), as I understand.... but we
> cannot use it because Rails sweepers cannot expire cached pages?
>
> The reason I ask -- for all the talk about how fast Lighttpd is,
it''s
> not preferable to have a web server reading files off disk with every
> request? Or have I missed something?
>
> I guess the ideal setup would involve something like Memcached.
> Somehow, the webserver would keep the most popular static items in
> Memcached. Anything not found in Memcached can be found in /public on
> disk. ActionController would expire items in Memcached as well as on
> the disk.
>
> Something like this would give worthwhile performance boosts?
>
> Jason
>
> >
>
--
rm -rf / 2>/dev/null - http://null.in
Dont judge those who try and fail, judge those who fail to try..
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---