From: Tobias DiPasquale Date: 2001-12-11T21:19:06+09:00 Subject: [ruby-talk:28205] Re: Design question: remote UIs and distributed objects This is exactly what TupleSpaces are for. Please check them out. TupleSpace capability is included with dRuby, which can be found here: http://www.ruby-lang.org/en/raa-list.rhtml?name=druby+-+distributed+ruby I am not sure about the performance considerations in using TupleSpaces, but it's at least worth a shot, as it's very easy to use and does exactly what you need. Hope this helps. Massimiliano Mirra wrote: > [ruby-talk:28163] Design question: remote UIs and distributed objects > I am toying with the idea of writing a tiny drawing program that acts > as a server and is accessible by remote user interfaces. > > The engine/server should be written in Ruby. I'd rather use > distributed objects than create a whole communication protocol from > the ground up. I'd also rather not to enforce the choice of language > for client applications (which leaves out drb). > > AFAIK the players in this arena are CORBA, XML-RPC and SOAP. Of these > I have only tried XML-RPC and it is wonderfully easy, but I see no > chance of passing around whole objects like in drb (one could marshal > them of course, but would defeat the language independence). I gather > that CORBA is far from easy or even moderately difficult, so I'm going > checking SOAP. > > My question: does this really deserve study or is it a lost cause? Is > there any chance to send around anything more complex than hashes and > arrays? And, above all, is performance any close to being acceptable > for the feedback requirements of a user interface or would it be like > telnetting over a 2400bps connection? > > Massimiliano > -- Tobias DiPasquale Solaris System Administrator Electrical and Computer Engineering Dept. Villanova University mailto: anany@ece.vill.edu tel: 610-519-5109