Foreword
In 2004, Ruby on Rails became public. The world was surprised by its productivity and by the magic of Ruby that enabled Ruby on Rails. Many people knew Ruby before Rails, but few realized the power of the language, especially metaprogramming.
But Rails is not the first framework to realize the power of Ruby. dRuby came long before Rails. It uses metaprogramming features for distributed programming. Proxy objects “automagically” delegate method calls to remote objects. You don’t have to write interface definitions in XML or any IDL. dRuby is a good example of a very flexible system implemented by Ruby. In this sense, Rails is a follower.
Even though dRuby has a long history, its importance hasn’t been reduced a bit in recent years. In fact, distributed programming is getting more important. We have access to more and more computers over the Internet. In the “cloud” age, we should find a way to utilize those enormous numbers of computers. And we already have the answer: dRuby.
dRuby is not known outside of Japan as much as it should be. I hope this book helps people learn the lesser-known technology proven by history. And you will see the power and magic of dRuby and Ruby.
English edition
The dRuby Book: Distributed and Parallel Computing with Ruby
by Masatoshi Seki (Translated by Makoto Inoue)
Copyright (C) 2012 by Masatoshi Seki
Originally published by Pragmatic Programmers, LLC.
Original Japanese edition
dRuby ni yoru Bunsan Web Programming
by Masatoshi Seki
Copyright (C) 2005 by Masatoshi Seki
Published by Ohmsha, Ltd.
3-1 Kanda Nishikicho, Chiyodaku, Tokyo 101-8460
Japan
The adobe copyright notice shall be included in all copies.