The dRuby Book

Chapter 6
Coordinating Processes Using Rinda

As your system grows more complex, you need a way for multiple processes to talk to each other. This might include background image processing, parallel web crawlers, or different systems exchanging data. You may have used various non-Ruby solutions such as queuing systems or messaging systems that were written in C, Java, or Erlang. Or perhaps you’ve built a similar structure on top of relational databases, but there is another way. This chapter introduces Rinda, a distributed shared memory space. Like dRuby and ERB, Rinda is written in pure Ruby and comes as part of the Ruby standard library, so it’s highly portable, and you can start using it immediately.