Greetings:
I am planning to use this module with a cluster of 3 webservers (that obsiously are connect to the same db server). The codebase is not shared amoung the machines. The only share the machines have is the /file directory. It's mounted on an nfs by one of the web servers and the 2 others access the file repository as nfs clients.
I would really like to try the boost module has it's for sure cut the traffic pics. But i'd rather not share the /cache directory on an nfs, mainly for io concerns. So does anyone has an idea of how will boost behave with a setting with a single db but 3 different cache repositories ? I guess that it could cause a lot of troubles because the cache would be invalidated on only one machine by the nodeapi hook for exemple.
Other than that, does abyone has setup boost on a config with more than 1 web server ?
On a related idea, wouldn't it be a good idea to use memcache has the cache backend for boost. ie. use memcache instead of static files? Let me be clear: I am not talking of the drupal memcached module but rather of a solution which, like boost does, would totally bypass drupal, php and mysql to serve the page directly from memcache. Does it sound good to someone ?
Comments
Comment #1
firebus commentedworks fine for me without a shared file system for 3 webheads with the caveat that you have to make sure to run cron.php on all three webheads OR set up your own cron job to delete stale cache files on each server.
i've found in general that modules that use drupal cron to delete stale files (swfcharts is another) don't scale nicely, and it's easier to write your own cron.
obviously, the cache files could be different on different web servers depending on how long your expiry is and how often you update, but that's not a big deal, especially if anon users are bound to one webserver per session.
i'm not sure what the win would be using memcache as a backend to boost, or how you would serve the page directly from memcache without php (or some other similarly resource intensive apache module) to grab the data from memcache.
Comment #2
cirotix commentedThank you for your feedback. I have the same setting as yours, so I will definitively try to use boost.
As for the second point, I was thinking of something like this:
http://tinyurl.com/267pef
In 2 words, you can bypass your php+mysql application to serve pages cached by memcache with a combinaison of lighttpd + LUA.
To me it looks quite similar to what boost does, but I could be wrong
Comment #3
mikeytown2 commentedClosing all 5.x issues; will only reevaluate if someone steps up #454652: Looking for a co-maintainer - 5.x
Reason is 6.x has 10x as many users as 5.x; also last 5.x dev was over a year ago. The 5.x issue queue needs to go.