Fork me on GitHub

Project Notes

#149

dRuby (drb) is a distributed object system for Ruby, included in the standard library.

Notes

The dRuby (drb) distributed object system has been in the standard library since 1.8(??).

The standard library just includes the core drb framework. The full package includes a few more features, but seems to have never really made the transition to fully maintaned, standard-alone gem.

Actually, drb is a bit of a curiosity. It’s main use appears to be for personal productivity gadgets or simply research and exploration of distributed computing ideas.

The really nice thing is that it is super simple to get something working in a line or two of code..

Start the server…

$ ./drb_server.rb
TestServer
starting on druby://localhost:9000..
TestServer
handling doit...

Make a client call…

$ ./drb_client.rb
Hello, Distributed World

console

Taking a Look at the Full Package

Downloading the latest(?) available source package:

wget http://www2a.biglobe.ne.jp/~seki/ruby/drb-2.0.4.tar.gz
tar zxvf drb-2.0.4.tar.gz
rm drb-2.0.4.tar.gz

Credits and References

About LCK#149 ruby

This page is a web-friendly rendering of my project notes shared in the LittleCodingKata GitHub repository.

Project Source on GitHub Return to the LittleCodingKata Catalog
About LittleCodingKata

LittleCodingKata is my collection of programming exercises, research and code toys broadly spanning things that relate to programming and software development (languages, frameworks and tools).

These range from the trivial to the complex and serious. Many are inspired by existing work and I'll note credits and references where applicable. The focus is quite scattered, as I variously work on things new and important in the moment, or go back to revisit things from the past.

This is primarily a personal collection for my own edification and learning, but anyone who stumbles by is welcome to borrow, steal or reference the work here. And if you spot errors or issues I'd really appreciate some feedback - create an issue, send me an email or even send a pull-request.

Follow the Blog follow projects and notes as they are published in your favourite feed reader