Re: Unexpected low CPU usage

John Wilson <[email protected]> Mon, 21 Jan 2008 11:41:45 +0000
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
On 21 Jan 2008, at 10:23, Johan Stuyts wrote:
>
> What I don't understand is that a protocol that is lightweight when it
> comes to serialization of the parameters and results, can keep one
> of my
> cores busy (indicating it is not disk-/network-bound), but when I
> switch
> to a protocol that apparently requires more CPU power for
> serialization
> the CPU is no longer used fully.

XML-RPC can only use HTTP as a transport protocol. Is SOAP also using
HTTP on you system?

If so take a look to see if SOAP is using keep-alive (XML-RPC
probably is). If it isn't it will close and reopen the socket for
each message. This may explain the result you are seeing.

John Wilson

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com