Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 3.3
-
Fix Version/s: None
-
Component/s: Framework
-
Labels:None
-
Environment:CentoOS 5.2, Oracle Java 1.7.0_25
-
Workaround Exists:Yes
-
Workaround Description:disable DOM compression from web.xml
Description
Migrating from 1.8.2 to 3.3 caused degraded performance with high CPU consumption (went more than 95% on 30 concurrent requests). This only happens on partial rendering. GET request is fine. Profiler shows that the DomResponseWriter.getOldDocument() is eating up CPU time. We disabled DOM compression as a temporary solution.
Here are some numbers (30 sessions with on total 1500 repeat using JMeter)
With compression enabled :
* GET Request : ~550ms
* POST request (partial rendering) : more than 8 seconds
With compression disabled (POST is still taking more than GET request):
* GET : 500ms
* POST : 650ms
NOTE: testing with few threads does not have this effect. The time for post processing depends on the size of the page and the total number of current requests.
Here are some numbers (30 sessions with on total 1500 repeat using JMeter)
With compression enabled :
* GET Request : ~550ms
* POST request (partial rendering) : more than 8 seconds
With compression disabled (POST is still taking more than GET request):
* GET : 500ms
* POST : 650ms
NOTE: testing with few threads does not have this effect. The time for post processing depends on the size of the page and the total number of current requests.
Activity
Dipendra Pokhrel
created issue -
Dipendra Pokhrel
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | profiler.png [ 16681 ] |