Requests getting "chunked" but without the "transfer-encoding=chunked" setting
posted 2 years ago
We have a web service that is used frequently internally. Lately this service has received a lot of attention from a poor performance standpoint. One of the things I"ve noticed is it takes 300 ms to even get the request to the server fully. The strange thing about that is the request is only about 800 bytes in most cases. The behavior I'm seeing is (even with the JBoss chunk size set to -1) that the requests are still being chopped up into smaller pieces for transfer. For example, that same 800 byte request would send a 600 byte packet a 20 byte packet and then an 20 byte packet, and then a 3 byte packet, and then the rest.
I looked at the web service client code and no where in there is TCPNoDelay syntax being used.