# Re: Distributed Computing in Ruby

**URL:** <https://www.ruby-forum.com/t/re-distributed-computing-in-ruby/104029>\
**Category:** Ruby\
**Created:** [May 13, 2007, 7:02am UTC](https://www.ruby-forum.com/t/re-distributed-computing-in-ruby/104029 "2007-05-13T07:02:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phy\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a587f6/32.png) [@Phy\_P](https://www.ruby-forum.com/u/Phy_P)\
**Post date:** [May 13, 2007, 7:02am UTC](https://www.ruby-forum.com/t/re-distributed-computing-in-ruby/104029/1 "2007-05-13T07:02:52Z")

</div>

Well, being that I am in the same boat both as a noobie and someone  
wanting parallel processing, look at RINDA (think linda but for Ruby  
e.g. black board and tuple space or if you are a Java fan, think java  
spaces) and drb. It is exceptionally easy to use.

Best of Luck!  
Phy

----- Original Message ----  
From: Ari B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: ruby-talk ML [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Saturday, May 12, 2007 6:49:54 PM  
Subject: Distributed Computing in Ruby

Hey all,  
Before I get emails saying I don’t know enough about Ruby to do any  
of this yet, let me acknowledge that and say of course.  
I’m only looking to learn more about doing it, writing (pseudo) code  
with it, and the best way to implement it in Ruby.

So, how would one go about designing distributed computing code? And  
how would you adapt that to Ruby?

Any help is welcome  
---------------------------------------------------------------|  
~Ari  
Yes I already googled it

---

<div class="post-metadata">

**Author:** ![Phy\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a587f6/32.png) [@Phy\_P](https://www.ruby-forum.com/u/Phy_P)\
**Post date:** [May 13, 2007, 12:06pm UTC](https://www.ruby-forum.com/t/re-distributed-computing-in-ruby/104029/2 "2007-05-13T12:06:12Z")

</div>

On Sunday 13 May 2007 05:01, Phy P. wrote:

> To: ruby-talk ML [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> how would you adapt that to Ruby?
> 
> Any help is welcome  
> ---------------------------------------------------------------|  
> ~Ari  
> Yes I already googled it

DRb - Distributed Ruby  
i think that answers your question, read pickaxe, read documentation on  
DRb -  
there’re links to tutorials - especially segment7 - they are hard to  
understand but … well they are 😃

have phun

---

<div class="post-metadata">

**Author:** ![Phy\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a587f6/32.png) [@Phy\_P](https://www.ruby-forum.com/u/Phy_P)\
**Post date:** [May 13, 2007, 2:55pm UTC](https://www.ruby-forum.com/t/re-distributed-computing-in-ruby/104029/3 "2007-05-13T14:55:34Z")

</div>

On Sun, May 13, 2007 at 07:05:29PM +0900, Marcin R. wrote:

> DRb - Distributed Ruby  
> i think that answers your question, read pickaxe, read documentation on DRb -  
> there’re links to tutorials - especially segment7 - they are hard to  
> understand but … well they are 😃

There’s also [http://wiki.rubygarden.org/Ruby/page/show/DRbTutorial](http://wiki.rubygarden.org/Ruby/page/show/DRbTutorial)

But DRb by itself is just remote procedure calls. A full distributed  
computing environment may expect more than that (hence Rinda)

---

<div class="post-metadata">

**Author:** ![Phy\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a587f6/32.png) [@Phy\_P](https://www.ruby-forum.com/u/Phy_P)\
**Post date:** [May 13, 2007, 9:52pm UTC](https://www.ruby-forum.com/t/re-distributed-computing-in-ruby/104029/4 "2007-05-13T21:52:21Z")

</div>

On Sunday 13 May 2007 12:54, Brian C. wrote:

> On Sun, May 13, 2007 at 07:05:29PM +0900, Marcin R. wrote:
> 
> > DRb - Distributed Ruby  
> > i think that answers your question, read pickaxe, read documentation on  
> > DRb - there’re links to tutorials - especially segment7 - they are hard  
> > to understand but … well they are 😃
> 
> There’s also [http://wiki.rubygarden.org/Ruby/page/show/DRbTutorial](http://wiki.rubygarden.org/Ruby/page/show/DRbTutorial)
> 
> But DRb by itself is just remote procedure calls. A full distributed  
> computing environment may expect more than that (hence Rinda)

RINDA is preatty much just one class that lets you find other DRb  
services.

---

<div class="post-metadata">

**Author:** ![Phy\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a587f6/32.png) [@Phy\_P](https://www.ruby-forum.com/u/Phy_P)\
**Post date:** [May 13, 2007, 10:13pm UTC](https://www.ruby-forum.com/t/re-distributed-computing-in-ruby/104029/5 "2007-05-13T22:13:23Z")

</div>

On Mon, May 14, 2007 at 04:51:38AM +0900, Marcin R. wrote:

> > computing environment may expect more than that (hence Rinda)
> 
> RINDA is preatty much just one class that lets you find other DRb services.

I don’t believe that’s true (you may be thinking of a ring server).  
Rinda is  
a Ruby implementation of Linda, aka Tuplespace in Java, which has  
defined  
semantics for inserting and removing messages into a shared space.

[http://www.lindaspaces.com/book/index.html](http://www.lindaspaces.com/book/index.html)

---

<div class="post-metadata">

**Author:** ![Phy\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a587f6/32.png) [@Phy\_P](https://www.ruby-forum.com/u/Phy_P)\
**Post date:** [May 13, 2007, 10:03pm UTC](https://www.ruby-forum.com/t/re-distributed-computing-in-ruby/104029/6 "2007-05-13T22:03:22Z")

</div>

On 5/13/07, Marcin R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > computing environment may expect more than that (hence Rinda)
> 
> RINDA is preatty much just one class that lets you find other DRb services.
> 
> ## – Marcin R.
> 
> Friends teach what you should know  
> Enemies Teach what you have to know

Rinda also gives you a nice tuplespace class! Don’t underestimate a  
tuplespace
