Had a bad run in with firewalls using Apache 1.3 and AJP13. Thought the following
changes might help the next victim.
Andrew Gilbert
Index: workershowto.xml
===
RCS file: /home/cvspublic/jakarta-tomcat-connectors/jk/xdocs/jk
Not sure about this, but would seem to make more sense that an endpoint gets cleaned
out of the cache based on it's own last access time, not the last access time of the
endpoint that has been taken out for use. Or is this intentional?
Andrew Gilbert
Index: jk_ajp_common.c
Thanks.
I missed the obvious in the double array copy. Still, by doubling the buffer
size each time instead of incrementally increasing we are getting double the
speed with our degenerate test case.
1. Original - 22 seconds
2. As patched here - 13 seconds
3. With doubling of buffer as well - 6
We made the following change to reAllocBuff() in
org.apache.jasper.runtime.BodyContentImpl with some success. Curious if this
is of use to others. There was already a note about using a multiple of
DEFAULT_BUFFER_SIZE. This takes the notion one step further, doubling size
upon each request. Made