| Author |
Session Management Performance
|
Ben Sullivan
Greenhorn
Joined: Apr 25, 2003
Posts: 11
|
|
Hi I am studying for my SCWCD exam and was wondering if there was any way around the performance problems introduced by URL rewriting? Thanks Ben
|
 |
Stepan Samarin
Greenhorn
Joined: Jan 16, 2003
Posts: 9
|
|
|
Ben, you say that URL rewriting introduces performance problems. Personally, I don't see any bottleneck in this alternative to cookies. Can you please tell us your vision, may be some facts.
|
 |
Peter den Haan
author
Ranch Hand
Joined: Apr 20, 2000
Posts: 3252
|
|
I wouldn't say that there are any serious performance implication to URL rewriting -- because most of the time, you don't. If the client supports cookies (which will be 99% of the time) then HttpServletResponse.encodeURL() will return your url String unchanged, with no object creation and little overhead. - Peter
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
Originally posted by Peter den Haan: I wouldn't say that there are any serious performance implication to URL rewriting -- because most of the time, you don't.
Even if you actually do, why would there be a serious performance hit?
|
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
|
 |
Peter den Haan
author
Ranch Hand
Joined: Apr 20, 2000
Posts: 3252
|
|
You're right, there probably isn't, unless you have a lot of URLs on your pages; I guess that could give a fair bit of object churn. - Peter
|
 |
Jack Shirazi
Author
Ranch Hand
Joined: Oct 26, 2000
Posts: 96
|
|
The design doesn't have any inherent bottleneck. I've learned through years of experience not to anticipate implementation bottlenecks. You usually anticipate the wrong one. There are always situations where almost anything can become a bottleneck depending on the implementation, the load and the configuration. --Jack Shirazi JavaPerformanceTuning.com
|
 |
 |
|
|
subject: Session Management Performance
|
|
|