On Aug 24, 2006, at 12:38 PM, Marcus Rueckert wrote: > On 2006-08-24 08:53:46 -0700, Ezra Zygmuntowicz wrote: >> Well you can use pound to setup sticky sessions or session affinity >> but I don't reccomend that as its fragile. I would say your best >> option is to make a very simple drb server to run your singleton in >> and then all mongrels can talk to the one instance over drb. > > why not memcached? > > darix > > -- > openSUSE - SUSE Linux is my linux > openSUSE is good for you > www.opensuse.org > _______________________________________________ > Mongrel-users mailing list > Mongrel-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >
Memcached is indeed another option. Although it sounded like for just one Singleton object cache that memcached would be overkill and require yet another dependency for the app. DRb is built into ruby and is very simple to use. So simple that he could most likely take his singleton class and turn it into a drb server in about 4 lines of code. -Ezra _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users