Newest Post

Who is the Chief of the Apache projects?

Read more

Spring Integration 1.0 Milestone 6 Released

Dear Spring community,
We are pleased to announce that Spring Integration 1.0.0.M6 is now available.
Download | Reference Documentation | JavaDoc

To see a list of features added and issues resolved since Milestone 5, view the changelog. For more information, visit the Spring Integration Home or join the discussion at the Spring Integration Forum. Community feedback is more important than ever as we approach the Release Candidate.

Mark Fisher
Spring Integration Lead

Read more

Amsterdam Java Meetup - September 12th

Now that the holiday season (at in the Netherlands that is) has almost ended, I thought it would be time for another Amsterdam Java Meetup. So, we reserved the good-old Jaren in the Nieuwe Doelenstraat again, for having a few (paid-for) drinks with fellow Java developers and everybody else that wants to join in.

We’re doing this in the same week as the Core AOP course, held in Amsterdam, which is quite convenient for me, since now I’m sure I will be in town as opposed to some of the other meetups where I couldn’t be present myself.

Read more

Optimising and Tuning Apache Tomcat

On Wednesday I gave a webinar on Optimising and Tuning Apache Tomcat. A recording of the webinar and a copy of the slides can be obtained from the webinars section of the SpringSource website. The same page has links for all the previous SpringSource webinars, as well as the Covalent webinar archive.

I wasn’t able to get to all of the questions during the Q&A session so, as promised, here are the remaining questions and my answers.

  • What are the best practices for tuning XYZ application running on Apache

    There isn’t an ideal configuration setting for any application as the best settings will depend on many factors. As a starting point, use the recommendations provided with the application. After that, follow the process set out in the webinar and don’t be afraid to go against the recommendations provided with the application if that gives you better performance.

  • <li><strong>Do you have any recommendations for open source tools for troubleshooting, performance benchmarking or testing web applications?</strong>

    My starting point when troubleshooting is to build a simple test case using Eclipse. I then use the built-in debugger to step through the code to really understand what is happening. If you need a profiler then NetBeans includes one although I have never used it. I use a commercial profiler (YourKit) as they provide free licences to open source developers. For performance benchmarking I use Apache JMeter and for testing I use a combination of JUnit and Apache JMeter.

    <li><strong>What tool do you recommend for monitoring memory, cpu, etc.?</strong>

    For a Tomcat specific tool, I like LambdaProbe. For a more general tool you might want to take a look at the SpringSource Application Management Suite.

  • Is it recommended to use JMeter, LambdaProbe or a Profiler in a production environment?

    It depends on the environment. I have used all three of those tools in production environments in the past but equally there have been times when I have deliberately not used those tools. You have to balance the risk of the tool causing a problem (performance, functionality, security, etc.) against the potential benefit of using the tool. That balance has to be assessed on a case by case basis.

  • Is it a good idea to have a hardware load balancer and an Apache httpd load balancer?

    This also depends on circumstances. A hardware load balancer brings some benefits but also costs. Generally, I would expect to see hardware load balancers in environments that had very high availability requirements.

  • Can Tomcat be clustered and load balanced using iPlanet?

    Yes, a version of mod_jk is available for iPlanet. You can download both source and binary versions from the Apache Tomcat download pages. You should be aware that there are relatively few users of mod_jk for iPlanet so you may run into a few more bugs that if you use one of the more popular web servers as a front end.

Read more