Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Distributed Ruby/Threads/Rinda?

Thread Tools

Distributed Ruby/Threads/Rinda?

Enrique Comba Riepenhausen
Posts: n/a
Hello all,

Recently (to test my understanding of Ruby) I was rewriting a
middleware server software of my company that is written in Java
(J2EE) in Ruby.

I actually coded the core of the system and think it is pretty neat
in Ruby (and much cleaner by the way).

The problem I am facing now, having the core system in Ruby, is the
API interfaces towards that core. The system is supposed to have a
layer of different API's so that an application programmer can access
a service running inside the core. These API layer can be almost
anything (a telnet session, a http request, a SOAP or XML-RPC
request, etc, etc, etc).

In the Java implementation this is solved by having these API's
"talk" to the core in two ways:
- using JMS (Java Messaging Service), i.e. packaging an incoming
message into an JMS message and sending it to an incoming queue so
that it can be processed. This is used for async processing.
- directly calling an EJB that will process the incoming message and
reply with the output of the service run. This is done for snyc

Now my question would be the following:

How can I implement something like a JMS Queue in Ruby?
How can I make the core system be a daemon that accepts these
requests (either by a direct call to some class in the core or by a
messaging system?

Thanks a lot for the help in advance!


Enrique Comba Riepenhausen

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Client/Server v.s. Distributed application =?Utf-8?B?dHN1aQ==?= ASP .Net 4 06-04-2004 08:56 PM
When only central CEF (not distributed CEF) is enabled on 7500-series router... ETLALAR Cisco 2 01-19-2004 10:39 AM
distributed dll : Specified module could not be found error MovnOn ASP .Net 0 10-14-2003 07:44 PM
need "70-015 Designing Implementing Distributed Applications" samples vgrigor MCSD 3 08-13-2003 09:23 PM
Re: I want chm book of "70-015 Designing and Implementing Distributed With VC++ 6.0" vgrigor MCSD 0 08-11-2003 12:03 PM