I'm looking for comments, suggestions, best practices for handling 
page_caching with shared storage.
This is the scenario:

nginx box in front of multiple mongrel_cluster boxes (Xen instances 
actually)

At the moment each mongrel_cluster has its own public folder, though 
sub-folders of this are shared via symlinks, so the file data 
(principally images uploaded via attachment_fu, and cached fragments) 
can be shared between the mongrel_cluster instances and nginx.

I'm now adding some limited page_caching, principally for the RSS feeds 
to start with. What do you think is the best way to handle this:

-- share the whole public folder across everything

-- put the cached pages into a subdirectory in public and have some sort 
of test in the nginx config file to see if the pages exist in there 
before passing on the request to the mongrel clusters

-- some other suggestion.

Cheers
Chris

-- 
----------------------------
Autopendium :: Stuff about old cars 
http://autopendium.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" 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-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to