TomcatExpert

request

Knowledge Base : JKOptions + DisableReuse benefits over standard connection pool mechanism

posted by SpringSource on October 27, 2009 02:36 PM

Alternative to mod_jk connecting to a Tomcat connection pool

The DisableReuse + JKOption is recommended because of how mod_jk handles connections. Typically the DisableReuse option is recommended when there are issues with keeping a connection alive.

mod_jk has built in health checks:

connect_timeout
prepost_timeout

Both of them do the same thing. They send a PING to Tomcat. Tomcat responds with a PONG. And only then the connection is used as it is considered healthy.

Read More

0 comments   |  

0
Rating
  |  

Operations | blocking, connector, ERS/HTTPD

Knowledge Base : Understanding the Apache Tomcat blocking IO connector

posted by SpringSource on October 27, 2009 02:24 PM

Why active threads remain high after load decreases using the Blocking IO connector

There are a number of different http connectors that can be used with Tomcat. They are:

• Blocking IO
• Non-blocking IO
• Native/Apache Portable Runtime (APR)

The blocking IO connector is the default http connector. With this connector each request is handled by a dedicated thread (obtained from a pool) until the request is complete at which point the thread is returned to the pool to be re-used by another request.

Read More

0 comments   |  

0
Rating
  |  

Operations | blocking, connector, IO

Syndicate content