Forum: Ruby on Rails Webserver memory caching

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
75b30cd01949bd96fd1e96a81d808547?d=identicon&s=25 Jason Bowerman (Guest)
on 2006-12-22 02:24
(Received via mailing list)
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?

A05834e9b5954947eb0ba3b570c47d5e?d=identicon&s=25 Pratik Naik (pratik)
on 2006-12-22 03:38
(Received via mailing list)
When you use fcgi/mongrel, you have a persistent rails process. Which
in production mode, by default, caches all the modules.


On 12/22/06, Jason Bowerman <> wrote:
> >

rm -rf / 2>/dev/null -

Dont judge those who try and fail, judge those who fail to try..
This topic is locked and can not be replied to.