From: Brian McCallister Date: 2005-11-10T23:59:36+09:00 Subject: Re: [ANN] Stomp Client Release On Nov 10, 2005, at 5:23 AM, Jim Freeze wrote: > This looks pretty cool. (dumb question ahead) How is it different than > using DRb? > > I was planning on writing a quick client server with drb that managed > a resource pool. Would using stomp be a better way to go? DRb is a synchronous RPC style system whereas stomp is asynchronous message passing (though you can ask for a reply). If you need call/ response style semantics in a synchronous way drb will probably be much better for you. A brief intro to MOM: http://rubyurl.com/J2l In terms of what to use: if it is all ruby <--> communication, and is synchronous in nature, and you don't have multiple consumers for messages, DRb is the way to go, if it is multi-language, asynchronous, or you need multiple consumers for messages, MOM (possibly using stomp for interop) is generally better =) -Brian