|Anonymous | Login | Signup for a new account||04-01-2020 20:54 PDT|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0005055||[Resin]||minor||always||04-30-12 09:41||05-09-12 17:04|
|Summary||0005055: Slow response with save-mode=after-request|
When using session-config save-mode=after-request, responses to the client are delayed by the time it takes to serialize, CRC, and persist the session. The description of after-request says "Save the session after the request has been served and completed". This is true, however the response is stored in the buffer but not flushed to the client unit the request is "finished".
The response needs to be flushed before the session is persisted.
|Additional Information||Reported by IHG|
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.
|04-30-12 09:41||cowan||New Issue|
|05-06-12 12:00||cowan||Note Added: 0005756|
|05-06-12 12:01||cowan||Note Edited: 0005756|
|05-06-12 12:02||cowan||Note Edited: 0005756|
|05-06-12 12:04||cowan||Status||new => assigned|
|05-06-12 12:04||cowan||Assigned To||=> cowan|
|05-09-12 17:04||cowan||Status||assigned => closed|
|05-09-12 17:04||cowan||Note Added: 0005760|
|05-09-12 17:04||cowan||Resolution||open => fixed|
|05-09-12 17:04||cowan||Fixed in Version||=> 3.1.13|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.|
26 unique queries executed.