From: Shashank Date Date: 2005-07-02T01:45:43+09:00 Subject: Re: Fault Tolerant DRb? Hi Kirk, I have written something like this a long time back to build fault tolerant database clusters. It became pretty messy pretty quick (of course I was not as proficient in Ruby back then ;-)). So I have some questions: --- Kirk Haines wrote: > Assume you are using a DRb service for....something. It doesn't matter what. > The case is the same whether one is accessing an array via DRb or a Rinda > Ring. Is there some reasonably easy way of making a service work in a fault > tolerant way? That is, one could have two processes on two different > machines both offering the same service. If one process dies, the data is > still present on the other, ^^^^^^^^^^^^^^^^^^^^^^^^^^ How do you propose to ensure that? Is it on a shared file system (like NFS). If true, then take a look at Ara's rq package: http://www.codeforpeople.com/lib/ruby/rq/rq-2.3.0/TUTORIAL If false, then think of some "easy" way of replication. > and the clients of that service can continue > operating without data loss? I had to worry about how the clients who were in the middle of a request would know that the service is no longer available. > > Kirk Haines > -- shanko > ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com