Patches item #1542967, was opened at 2006-08-19 04:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1542967&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Alastair Maw (almaw)
Assigned to: Nobody/Anonymous (nobody)
Summary: CryptedUrlWebRequestCodingStrategy massively inefficient

Initial Comment:
CryptedUrlWebRequestCodingStrategy creates an entire
new ICrypt implementation for every single URL it
encrypts or decrypts. This is hugely expensive, with 20
URLs on a page requiring about 500ms of CPU time to
process.

Encyrption/decryption itself is trivial in CPU time in
comparison.

I'm proposing we have a single ICrypt implementation
instance, which we reuse for all requests. It's not
thread-safe, but given individual encrypt/decrypt
operations are very fast, we can just synchronize on
it. End result - much faster page loads and far lower
resource utilisation.

Attached is a patch to fix things.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1542967&group_id=119783

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to