(0005756)
cowan
05-06-12 12:00
edited on: 05-06-12 12:02
|
Response is delayed only using load-balance. HmuxLoadBalancerServlet waits for the HMUX_QUIT signal before flushing the response to the client, which HmuxRequest does not deliver until after the invocation is complete. HttpRequest does not suffer from this, thus connections direct to the app-tier are faster for the 1st request.
Additionally, all requests of a keep-alive sequence except the 1st are delayed for session persistence. Even though the session is persisted after the response is written, the connection thread is busy persisting the session and not available to process the next incoming request.
load-balance-connect-timeout and load-balance-socket-timeout are significant here, because if the pier app-server is unresponsive or slow, the delay can be significant.
|