Use Named Pipes?

Hello!

I want to make a stand alone web application server. My
Apache/mod_ruby server should then connect to it to handle each
request.
My problem is:How should I do the connection?
One TCP connection to localhost:myPort for each request?
Named pipes?
Or is there a possibility of a persistend network connection?

Thank you very much for answering my questions!
Dominik Werder

An easy solution would be to use druby, which is similar to CORBA or Java’s
RMI:
http://raa.ruby-lang.org/list.rhtml?name=druby

robert

“Dominik Werder” dwerder@gmx.net schrieb im Newsbeitrag
news:31033452.0302250044.faf5a6f@posting.google.com

···

Hello!

I want to make a stand alone web application server. My
Apache/mod_ruby server should then connect to it to handle each
request.
My problem is:How should I do the connection?
One TCP connection to localhost:myPort for each request?
Named pipes?
Or is there a possibility of a persistend network connection?

Thank you very much for answering my questions!
Dominik Werder

Another is xml-rpc (also from RAA). I have only played with it a little, but
it does give the advantage of interoperability with a number of other
languages. There is a good introductory ‘howto’ linked from www.xmlrpc.com

It seems you can also do RPC-like semantics using YAML, at least there is
some code under src/okay and samples/okayRpc* in the yaml4r distribution.
It refers to
http://wiki.yaml.org/yamlwiki/OkayRpcProtocol
but that site seems to be down.

Regards,

Brian.

···

On Tue, Feb 25, 2003 at 06:32:18PM +0900, Robert Klemme wrote:

An easy solution would be to use druby, which is similar to CORBA or Java’s
RMI:
http://raa.ruby-lang.org/list.rhtml?name=druby