dRuby explained: Ruby objects that talk across processes

An unofficial reference for dRuby (DRb), Ruby's distributed object library. Short, working examples for servers and clients, passing objects by reference, Rinda tuple spaces, and running it safely.

Start hereWhat is dRuby?dRuby (DRb) lets one Ruby process call methods on objects that live in another. What it does, how a call travels, and when it fits.

Guide

What dRuby is, how to install it, and how servers, clients and remote objects behave.

7 guide pages

Rinda

Tuple spaces for coordinating processes, and the ring server for finding services.

3 Rinda pages

Safety

Why a dRuby port must never face an untrusted network, and how to restrict who can connect.

3 safety pages