On 16 July 2010 10:29, Keith Pitt <m...@keithpitt.com> wrote: > Gday Guys, > > I'm currently playing in the world of memcache. I've been working with > it locally on my machine for about a week, and gotten some bits and > pieces of my app cached. > > Wondering if anyone can shoot me some links, tips, tricks on how to > deploy memcahed onto production servers. Capistrano recipes, bluepill > scripts, etc. How to scale instances up/down.... > > I could just hop onto the server, start a few instances of memcached > and leave them be, but that didn't sound like the right way to do it. > I also need a neat way of telling rails that a few more instances have > started up. Is there a way to do that without restarting the app each > time? >
You might want to check out Moonshine[0] and the memcached plugin[1] for Moonshine, which hooks nicely into your existing Cap setup. A nice way to avoid the reconfiguration/reload of your app servers is to use Moxi[2], a memcached proxy. I believe it even has live-reconfiguration of a memcached proxy in the works. Lindsay [0] http://github.com/railsmachine/moonshine [1] http://github.com/railsmachine/moonshine_memcached [2] http://code.google.com/p/moxi/ -- w: http://holmwood.id.au/~lindsay/ t: @auxesis -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-ocea...@googlegroups.com. To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.