apache tomcat connector for comet & jsp

Posted on

apache tomcat connector for comet & jsp – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about apache-2.2, tomcat, , , .

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?

http://tomcat.apache.org/tomcat-7.0-doc/aio.html

APR or NIO HTTP connectors??

Thx!!

Solution :

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

Leave a Reply

Your email address will not be published.