• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Improve Tomcat performance

 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have seens different configuration files with tomcat, and I was wondering wheather I could further improve tomcat performance by changing some settings!

Is it possible, and should I care about these things?

Regards,
Sim085
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which ones are you looking at?
What have you done so far?
Do you have any means to test performance once you start tweaking the config files (a profiler)?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For load testing your application to gather real data, consider the HttpClient package.
For internal monitoring of response times and the time consumed by various parts of your application, consider the JAmon toolkit.
Without real measurements and measuring technology in hand it doesn't make any sense to fiddle with settings.
Bill
 
Simon Joseph Aquilina
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Bill and Ben Souther,

I admit my question was a little to general (sorry). The reason for this was that I do not know anything about how to check performance, and neither how to imrpve it. Thanks to both for informing me about measuring the current performance before starting any changes. Also thanks for the links, I will download those applications and see what I can do with them.

and next time I will try asking more specific questions (sorry for that again)

regards and many thanks,
Sim085
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No problem.

For the most part Tomcat ships in production ready mode.
There are things that you can do for development that will slow it down a bit (such as autoReload, etc).

Profiling your app to find out where the bottlenecks really are is always a good start.
 
reply
    Bookmark Topic Watch Topic
  • New Topic