|
My experience, so far, is that all of the session handling/management of the servlet container is adequate for what I need. But in my case, I don't have thousands, or even hundreds of concurrent hits so perhaps my lack of attention to this particular area will come back to haunt me if I get hundreds or thousands of users (a problem I look forward to).For a servlet container a newcomer is Ajax as these usually work by having a connection continously open from the browser to the web container. This may cause your web server to run out of resources.
I keep the session timeout value relatively low so that sessions expire and are GC'ed on a regular basis and, although I think that I don't carry too much information around in the session itself, this thread has reminded me that I need to profile my servlet on Tomcat and see how it performs, especially when it comes to memory utilization.Have a look at jvisualvm in the Sun JDK. It works well when testing locally on your pc.
It has been a good discussion, and timely.I'd again advocate the "Release It!" book by Michael Nygard. Lots of tips from the front line.
Pete
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.