Search This Blog

Monday, November 12, 2018

Differences between mod_proxy and mod_jk

mod_proxy

* Pros:

  • 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
  • Ability to use http https or AJP protocols, even within the same balancer.

* Cons:

  • mod_proxy_ajp does not support large 8K+ packet sizes.
  • Basic load balancer
  • Does not support Domain model clustering

mod_jk

* Pros:

  • Advanced load balancer
  • Advanced node failure detection
  • Support for large AJP packet sizes

* Cons:

  • Need to build and maintain a separate module