On Monday 18 August 2008 1:10:03 pm AmaDaden wrote: > Glen Mazza wrote: > > chunking needs to be manually turned off in those cases. > > That seems a bit odd. Shouldn't the default settings be designed to work > with the least issues? Why is chunking on by default?
For performance reasons..... Turning chunking off can reduce performance by 20-30% for messages larger than about 4K. It also severely increased memory usage causing all kinds of scalability problems. CXF 2.1.2 (releasing today once it synced everywhere), changes things a little bit. For messages 4K and smaller, it doesn't use chunking. Once the message hits 4K, it flips to chunking mode (unless turned off). -- Daniel Kulp [EMAIL PROTECTED] http://www.dankulp.com/blog
