[GLASSFISH-19303] [Perf] Glassfish 4.0 secure web requests have performance regression when compared to Glassfish 3.1.2 Created: 07/Nov/12  Updated: 20/Dec/16  Resolved: 14/Feb/13

Status: Resolved
Project: glassfish
Component/s: security
Affects Version/s: 4.0_dev
Fix Version/s: 4.0

Type: Bug Priority: Major
Reporter: deep_singh Assignee: oleksiys
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

All OS/platforms



When measuring performance for secure web requests (HTTPS), we are seeing performance degradation ranging from -6% to -20% on various platforms.

Atleast a part of the degradation is coming from following method call in Glassfish 4.0:
org.glassfish.grizzly.ssl.SSLEncoderTransformer.wrapAll – total time 32.76s
The equivalent call in Glassfish 3.1.2 takes 40% less time:
com.sun.grizzly.util.SSLUtils.wrap – total time 19.66s

The wrapAll method in Glassfish 4.0 calls SSLEngine.wrap in a loop and looks more heavy weight than the wrap method call in Glassfish 3.1.2 .

Comment by oleksiys [ 22/Dec/12 ]

grizzly issue

Comment by deep_singh [ 24/Dec/12 ]

Tested recent changes with Glassfish b69 nightly (dec 23' 12 build) and found that
1. 11% improvement compared to Glassfish b64 promoted build
2. No regression compared to Glassfish 3.1.2 b23

Comment by oleksiys [ 25/Dec/12 ]

we had to revert the Grizzly 2.3-beta9 integration due to nucleus ql tests failure.
will let you know when another integration happens.


Comment by oleksiys [ 14/Feb/13 ]


Generated at Thu Mar 23 23:52:52 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.