kjkoster
22-07-2008, 10:28
Dear All,
Here is a small performance tweak I ran into when discussing a caching issue on IRC. Tomcat context files have a switch that allows us to switch off application reloading. Check out the documentation of the context definitions (http://tomcat.apache.org/tomcat-6.0-doc/config/context.html), search for the word "reloadable". Setting this switch to "false" gives a small run-time performance increase. I have not measured this, so I cannot tell you if you'll even notice.
Of course, this is only useful for production machines, where there is no need to change any code on the fly.
Does anyone use this switch in production? Do you have any measurements on how much time this saves per request?
Is this setting present on other application servers? How do I change this in other application servers?
Kees Jan
Here is a small performance tweak I ran into when discussing a caching issue on IRC. Tomcat context files have a switch that allows us to switch off application reloading. Check out the documentation of the context definitions (http://tomcat.apache.org/tomcat-6.0-doc/config/context.html), search for the word "reloadable". Setting this switch to "false" gives a small run-time performance increase. I have not measured this, so I cannot tell you if you'll even notice.
Of course, this is only useful for production machines, where there is no need to change any code on the fly.
Does anyone use this switch in production? Do you have any measurements on how much time this saves per request?
Is this setting present on other application servers? How do I change this in other application servers?
Kees Jan