On 10/30/06, M. Edward (Ed) Borasky [email protected] wrote:
I’m not sure anyone uses just drb … it’s more common to use drb via
the Rinda layer on top of drb. Try a search for Rinda … there was a
talk about Rinda at RubyConf 2006.
Funny, I use DRb by itself a lot, but have never yet used Rinda for a
production application. DRb by itself works just fine for all of my
needs, but then I’m not trying (yet) to build an application that will
do automated service discovery. I don’t see why you say it’s more
common to use Rinda on top of DRb. While I admit that Rinda is
interesting, it still leaves you with the problem of the actual DRb
services that you’ll publish on top of it.
Anyway, to answer the GP poster’s question, I learned all I needed to
know about programming DRb from the following sites:
Eric H.'s segment7 site has a lot of stuff; even includes a
tutorial on how to properly run DRb over SSL, and it appears to be one
of the few English language sites describing how to use Rinda.
By the way, DRb is really not that hard. From experience, DRb actually
makes writing distributed objects TOO easy, so easy that you wind up
making mistakes like forgetting that some object is actually a remote
one, and consequently also forgetting the necessary error checking
that that would entail, resulting in problems when you try using such
remote services over something less reliable than a private LAN.