TomcatExpert

HTTP

Ask the Experts : Delays between Apache and Apache Tomcat

 

Our configuration consists of the following components (all of them are running on a single Windows Server 2003 machine):

  • Apache Web Server - version 2.2.16 (with mod_jk version 1.2.31)
  • Tomcat Server - version 5.5.30

We are load testing the server with relatively simple requests.
It seems that under load (~8000 requests we are sending per minute from our load simulator) - we have a delay between apache web server and the mod_jk component.

asked by nir.zilberman

question

Make sure you configure both Apache httpd and mod_jk to handle the traffic.

This means, the number of threads(workers) that httpd has will impact your system.

Also, in high concurrency, how you configure KeepAlive is important. There is a chance that Apache is using its threads waiting for the next request on idle connections, while active connections are not being handled. 

Posting your configuration files may be a good idea.

 

best

Filip

answered by fhanik on June 15, 2011 07:09 PM

Read More

answer

13 comments   |  

0
Rating
  |  

| HTTP, mod_jk, server

Knowledge Base : Performance Tuning Apache Tomcat for Production

posted by SpringSource on April 8, 2010 12:06 PM

For development and operations teams, a presentation that covers performance tuning Tomcat and the JVM alongside configuration options, load balancing, and more.

In this webinar, Apache Tomcat committers Mark Thomas and Filip Hanik discuss performance tuning Apache Tomcat for your production environment. This webinar focuses on Tuning Tomcat and the JVM to correctly handle your application including usage patterns, hardware and network topology. You’ll learn when and how to apply the different tuning and configuration options as well as understanding load balancers and how they can impact your configuration settings. Also discussed: the impact of clustering and replication on your environment.

 

Read More

70 comments   |  

0
Rating
  |  

| availability, backlog, balancing

Knowledge Base : Transferring a service from HTTP to HTTPS

posted by SpringSource on April 8, 2010 08:15 AM

Moving a running service from HTTP to HTTPS involves creating a certificate keystore and editing the Tomcat configuration file.

Taking a service from running on an HTTP protocol on port 8080 to run on the HTTPS protocol on port 443 requires you to have a private key and signed certificate in place in order for the HTTPS connector to work. You will need to prepare the certificate keystore, edit the Tomcat configuration file and install the certificate on the target machine.

Read More

22 comments   |  

0
Rating
  |  

Security | certificate, HTTP, HTTPS

Syndicate content