[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby IPC: messaging, blackboard, etc.?

Dmitri Kondratiev

9/24/2006 10:04:00 AM

I am looking for Ruby crossplatform local and network IPC: messaging,
blackboard, etc. It would be great to find a survey of existing projects
in this area.
Things I am most interested in:
1) Distributed blackboard or any other publish/subscribe mechanism that
scales well with new nodes comming into play
2) Messaging system that will allow address messages to
thread@process.host

Thanks!
Dima

--
Posted via http://www.ruby-....

3 Answers

Logan Capaldo

9/24/2006 5:32:00 PM

0

On Sun, Sep 24, 2006 at 07:03:53PM +0900, Dmitri Kondratiev wrote:
> I am looking for Ruby crossplatform local and network IPC: messaging,
> blackboard, etc. It would be great to find a survey of existing projects
> in this area.
> Things I am most interested in:
> 1) Distributed blackboard or any other publish/subscribe mechanism that
> scales well with new nodes comming into play
> 2) Messaging system that will allow address messages to
> thread@process.host
>
> Thanks!
> Dima
>
I think your first step would be to look into drb (distributed ruby)
which comes with ruby.
> --
> Posted via http://www.ruby-....

James Gray

9/24/2006 5:54:00 PM

0

On Sep 24, 2006, at 12:32 PM, Logan Capaldo wrote:

> On Sun, Sep 24, 2006 at 07:03:53PM +0900, Dmitri Kondratiev wrote:
>> I am looking for Ruby crossplatform local and network IPC: messaging,
>> blackboard, etc. It would be great to find a survey of existing
>> projects
>> in this area.
>> Things I am most interested in:
>> 1) Distributed blackboard or any other publish/subscribe mechanism
>> that
>> scales well with new nodes comming into play
>> 2) Messaging system that will allow address messages to
>> thread@process.host
>>
>> Thanks!
>> Dima
>>
> I think your first step would be to look into drb (distributed ruby)
> which comes with ruby.

#1 is a request for Rinda's Tuplespace built on DRb and also comes
with Ruby. The Ruby Cookbook shows example usage for this.

I didn't understand #2.

James Edward Gray II

Dmitri Kondratiev

9/24/2006 9:11:00 PM

0

Francis Cianfrocca wrote:
> On 9/24/06, Dmitri Kondratiev <dokondr@gmail.com> wrote:
>>
>> I am looking for Ruby crossplatform local and network IPC: messaging,
>> blackboard, etc. It would be great to find a survey of existing projects
>> in this area.
>> Things I am most interested in:
>> 1) Distributed blackboard or any other publish/subscribe mechanism that
>> scales well with new nodes comming into play
>> 2) Messaging system that will allow address messages to
>> thread@process.host
>
>
>
>
> I don't quite understand #2 but you can look at reliable-msg, which is a
> very fine piece of work by Assaf Arkin. In addition, I've been working
> on a
> full-featured message-queueing system that should be ready for an early
> look
> quite soon.

By 2) I mean a messaging framework where addressable unit is a thread.
In other words, in such a system a following scenario would be possible:

Thread_X @ Process_A @ Host_N <--- snd/rcv messages ---> Thread_Y @
Process_B @ Host_M
(Framework may provide peer registration and naming mechanisms (for all
parts of such address). For example, process name or PID used in native
OS and network host name (IP addr) may be quite naturally used. As for
threads, there may be an agreement on how their names are built (such as
natural numbers, logical names, etc.))

Dima

--
Posted via http://www.ruby-....