tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane Witbeck" <sh...@digitalsanctum.com>
Subject Re: 20 Tips for Using Tomcat in Production
Date Tue, 21 Aug 2007 17:55:45 GMT
Good point. I've updated the entry to be more specific. Thanks!

On 8/21/07, Ben Souther <ben@souther.us> wrote:
> Tip #8:
>
> You tell the users about the tomcat-users.xml file for adding the role
> info but never tell them where to enter the RemoteAddrValve in order to
> restrict IPs.
>
>
>
>
>
> On Tue, 2007-08-21 at 10:57, Shane Witbeck wrote:
> > David,
> >
> > Thanks for your comments. I've added them to the blog post for
> > everyone's benefit.
> >
> > Shane
> >
> > On 8/21/07, David Delbecq <delbd+jakarta@oma.be> wrote:
> > > Very nice. May i suggest 2 comments perhaps?:
> > >
> > > 6... If you're loading several applications with several of the same
> > > library dependencies, consider moving them from the applications'
> > > |WEB-INF/lib| directory to Tomcat's shared library
> > > |{catalina.home}/shared/lib|. This will reduce the memory used by each
> > > application and result in smaller WAR files.
> > >
> > > You should make a remark that this change the behaviour of webapp:
> > >  a) Shared classloader is searched in last ressort when looking for
> > > classes, according to
> > > http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html.
> > >  b) Because the classes are shared, they share config & singletons and
> > > if they store objects statically they will prevent webapp unloading
> > >
> > >
> > > 7...Consider JDK 1.5 or even better JDK 1.6 to take advantage of
> > > performance improvements.
> > >
> > > Note that you can gain even more performance if you recompile your
> > > "string concatenation hungry" (d="aaaa"+b+"ccc") support libaries for
> > > jdk 5+ on a multi CPU system. This is because jdk5 uses the
> > > non-synchronized stringbuilder instead of the jdk 4- synchronized
> > > StringBuffer. And synchronization over multiple cpu takes a few more
> > > cycles than on single CPU machines.
> > >
> > >
> > >
> > > En l'instant précis du 21/08/07 14:10, Shane Witbeck s'exprimait en ces
> > > termes:
> > > > I thought my latest blog post would be of interest to the people on this
list:
> > > >
> > > > http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-in-production/
> > > >
> > > > ---------------------------------------------------------------------
> > > > To start a new topic, e-mail: users@tomcat.apache.org
> > > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > > > For additional commands, e-mail: users-help@tomcat.apache.org
> > > >
> > >
> > >
> > > --
> > > http://www.noooxml.org/
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To start a new topic, e-mail: users@tomcat.apache.org
> > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > > For additional commands, e-mail: users-help@tomcat.apache.org
> > >
> > >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Thank you,

Shane Witbeck
Digital Sanctum, inc.
-----------------------------------------------------
skype: digitalsanctum
  blog: http://www.digitalsanctum.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message