小编典典

Apache tomcat:mod_jk与mod_proxy

tomcat

使用apache mod_jkmod_proxytomcat实例进行前台操作的优缺点是什么?

我已经在生产环境中使用mod_jk多年了,但我听说这是面对tomcat的“老方法”。我应该考虑改变吗?有什么好处吗?


阅读 376

收藏
2020-06-16

共1个答案

小编典典

这些模块的优缺点比较存在
http://blog.jboss.org/

mod_proxy

* Pros:
      o No need for a separate module compilation and maintenance. mod_proxy,
        mod_proxy_http, mod_proxy_ajp and mod_proxy_balancer comes as part of 
        standard Apache 2.2+ distribution
      o Ability to use http https or AJP protocols, even within the same 
        balancer.
* Cons:
      o mod_proxy_ajp does not support large 8K+ packet sizes.
      o Basic load balancer
      o Does not support Domain model clustering

mod_jk

* Pros:
      o Advanced load balancer
      o Advanced node failure detection
      o Support for large AJP packet sizes
* Cons:
      o Need to build and maintain a separate module
2020-06-16