Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Requests getting "chunked" but without the "transfer-encoding=chunked" setting  RSS feed

 
Nick Wade
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

I'd appreciate any guidance on this.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!