Hi,
I have the situation where my application is acting as the xml-rpc server
and I am implementing the XmlRpcHandler. Then, the handler is added to the
XmlRpcServer in this way.
xmlrpc = new XmlRpcServer();
xmlrpc.addHandler("$default", this);
As an http server I am using the Jetty web server.
What I am observing is that while in most situations the time between when
Jetty notifies me of a new connection till when my XmlRpcHandler.execute(String
method, Vector params) only a handful of milliseconds pass, sometimes this
is prolonged to 3 seconds.
I am running this on a dedicated linux server 99% idle, so I am ruling
system resources out for the moment, even because this is either a few
milliseconds or 3.x seconds, never somewhere in between.
I am suspecting that the XmlRpcServer.execute() method is sometimes, for
some reason, taking too long to execute my method.
Any idea what part of the XmlRpcServer.execute() could take long? From a
quick look I gave it there doesnt seem to be anything that should take too
much time. Maybe the way the worker pool stack is working?
thanks and regards,
Josef