Hi All,
Is there a HTTP Connection Pool that Orbeon uses to perform instance submissions? Does it have maxThreads which can be configured ? what is the default number?
We are seeing a strange problem, where Orbeon opens a HTTP connection to manage a GET submission, and takes 7.5 seconds to process the request.
Whereas the underlying REST Service responds to the same request in 0.0093 secs. We are not able to figure out where the rest of the time is going?
Both services are running locally, so the REST service and orbeon (tomcat) are on same localhost, the DNS resolution is also done locally via the /etc/hosts file.
2015-10-22 10:24:29,340 DEBUG XFormsServer - opening URL connection {method: "GET", URL: "
https://core.communities.gov.
uk:443/DataCollection/templates/2015-CORE-Sales?owning-institution=b635ffe4f5ef754859384513c9d01551f6756c5c&managing-institution=b635ffe
4f5ef754859384513c9d01551f6756c5c", Cookie: "SessionID=5e3d1fda3f4a74c9", Orbeon-Token: "f7b9975bf580d9acab9d85f7d8c5db3de1809088"}
2015-10-22 10:24:29,340 DEBUG XFormsServer - response {status code: "200"}
2015-10-22 10:24:29,340 DEBUG XFormsServer - response headers {Server: "MarkLogic", Keep-Alive: "timeout=2", X-Frame-Op
tions: "SAMEORIGIN", Connection: "Keep-Alive", Content-Length: "6259", Content-Type: "application/xml", Set-Cookie: "SessionID=5e3d1fda3
f4a74c9; path=/; secure"}
2015-10-22 10:24:29,341 DEBUG XFormsServer - response has content
2015-10-22 10:24:29,341 DEBUG XFormsServer - saved HTTP state {scope: "session", cookie names: "SessionID"}
2015-10-22 10:24:29,341 DEBUG XFormsServer - end opening connection {time (ms): "7556"}
2015-10-22 10:24:29,341 DEBUG XFormsServer - deserializing to mutable instance
2015-10-22 10:24:29,341 DEBUG XFormsServer - end connecting {time (ms): "7556"}
This REST Service log tells me that this particular request took 0.0093 seconds on the back end service
/templates/2015-CORE-Sales?owning-institution=b635ffe4f5ef754859384513c9d01551f6756c5c
2015-10-22 10:24:29.339 Debug: dclg-datamart: request uri is templates:retrieve method GET took PT0.009394S
Thanks,
Balvinder
So if back end is taking 0.0093 secs to respond, why do I see end connecting {time (ms): "7556"} ?
Please explain this log statement "end connecting {time (ms): "7556"}" ?