Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am interested in deploying a tomcat7 server that will server JSP pages and also support comet. I normally use the mod_jk connector for Apache/Tomcat communications. I've found information that says not to use the mod_jk connector for comet.

My question is which connector is best for supporting Apache httpd/Tomcat comet & JSP?

APR or NIO HTTP connectors??


share|improve this question

YMMV and you should do your own tests, but:

we recently switched from AJP to HTTP (2 lbs -> 7 tc in frontend-cluster) and found the HTTP-connector more stable when it comes to peak-times (we also found nginx slightly more stable than nginx, but apache offers a better balancer-management atm)

we also found no sign for speed-improvemends for AJP vs HTTP, but you should do your own tests and YMMV

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.