From: Massimiliano Mirra Date: 2001-12-23T23:35:37+09:00 Subject: [ruby-talk:29360] Re: RPC via tuple space On Sun, Dec 23, 2001 at 08:33:56PM +0900, Michael Neumann wrote: > > I looked into XML-RPC for the same purpose, but it appeared that the > > procedure call was being made the HTTP/1.0 way, i.e. one connection > > for each call. > You should be able to use connection alive. Is that what you want? I think so. I set up both client and standalone server as suggested in the howto, just replaced call with multicall, but got an exception: irb(main):007:0> server.multicall (['sample.sumAndDifference', 3, 4], ['sample.sumAndDifference', 8, 1]) /usr/lib/ruby/1.6/xmlrpc/client.rb:409:in `multicall': XMLRPC::FaultException (XMLRPC::FaultException) from (irb):7:in `irb_binding' from /usr/lib/ruby/1.6/irb/workspace-binding.rb:46:in `irb_binding' from /usr/lib/ruby/1.6/irb/workspace-binding.rb:46 Is this because XMLRPC::Server does not support connection alive? > But anyhow, HTTP stays a stateless protocol. Tuple space would be no different, so this is not a(n extra) problem. Thanks. Massimiliano