Re: XMLRPC Connection Pooling

[email protected] 27 Aug 2008 15:21:03 +0000
Newsgroups gmane.text.xml.rpc.specification
Message-ID <[email protected]>
>-)whether xmlrpc supports  connection pooling?
>-)whether xmlrpc supports persisten connection ?=20

I don't know what you mean by "support," but if you mean can you use
techniques with XML-RPC, I would say:

- In XML-RPC, an RPC is an HTTP transaction, and the only way I know to 
  have multiple HTTP transactions on a single TCP connection is with
  HTTP persistent connections.  So there is no way to do connection
  pooling except with HTTP persistent connections.

- You can use HTTP persistent connections with XML-RPC.  Whether the
  XML-RPC software you're using gives you a way to create persistent
  connections is another question, and I don't know the answer.

I know that in HTTP, a persistent connection happens when the client
sends a "Connection: keep-alive" header with an HTTP request and the
server sends a "Connection: keep-alive" header with the HTTP response
and then the client and server don't close the TCP connection and the
client sends a subsequent HTTP request on it.

-- 
Bryan Henderson                                   San Jose, California

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/xml-rpc/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/