[EMAIL PROTECTED] wrote: > On Jul 30, 3:41 pm, Chris T <[EMAIL PROTECTED]> wrote: > > >> Thanks Tom >> >> By clustered filesystems (apologies for my ignorance) do you mean some >> sort of SAN. At the moment, I'm using one of the Xen instances as NFS, >> which works OK), and though I was thinking I'll probably need to upgrade >> the storage as the site grows, it hasn't so far been a problem. >> > > You don't necessarily need a SAN to implement a clustered filesystem, > but it helps. > > As an alternative, you could potentially use gnbd or vlbade on a Xen > instances (or instances) to supply the SANishness required. > > >> If you shared RAILS_ROOT in its entirety does this increase problems >> with the various servers trying to access the same files (obviously >> logging could be a problem -- though that could presumably be solved by >> going to a Syslog solution -- at the moment I've got each >> mongrel_cluster handling its own logging)? >> > > We've found logging to a different disk to be ideal. In our case we > generally log to the /var partition. > > While it's convenient to have your logs in one place, we've found the > performance penalty to be too high. > > -- > -- Tom Mornini, CTO > -- Engine Yard, Ruby on Rails Hosting > -- Support, Scalability, Reliability > -- (866) 518-YARD (9273) > > > > > > > Thanks again for that Tom. I'll look into the systems you suggest. From what you're saying, though, it seems there's no straightforward solution for the middle ground in which I'm in, though perhaps in the short-term (to get page-caching working properly, i.e. having the pages served by nginx rather than the mongrels), sharing the public folder on the NFS might be the best solution (with the mongrel_clusters still logging locally).
This will allow me to gradually scale things (and thus concentrate on the app for a bit, not to mention marketing, maintenance, keeping up to speed with developments, etc). 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 -~----------~----~----~----~------~----~------~--~---
