On 6/27/2018 1:02 PM, Rainer Jung wrote:
<snip/>

Not trying to deviate, but any header set with mod_headers RequestHeader directive should automatically be forwarded (I use it often eg. for request IDs). Alternatively one can use JkEnvVar to forward httpd request environment variables as request attributes. No idea about IIS though.

When I try to migrate clients from AJP to HTTP Proxy they usually tell me that they chose AJP because the data is transferred in binary format vs. the HTTP text so they believe that it is faster. I make the argument that for such small requests the encoding/decoding to/from binary adds more overhead than the gained benefit of the data format.

I do not expect the marshalling/unmarshalling to make a big difference between AJP and HTTP. Typically the CPU cycles used for a request are dominated by application stuff. Everything else is so small, that it only costs noticeable resources if you are doing many thousand requests per second.

We're in agreement.  The point I make to them is that they do not gain any performance benefits.

Not arguing against you, since you are +1, just adding my thoughts.

I welcome your thoughts, thank you.

Igal

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to