Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GZip in Axis

 
Jobin Mathew
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
How can we send SOAP messages in gzip format, ie in compressed manner. What all should I do for that? Also what should I do to uncompress the message I got as response? Do this gzip seriously improve performance?

Please help me.
Thanks in advance

Jobin
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I looked into some aspects of this question for this article comparing Fast Infoset with gzip.

Using GZIP makes a big difference in XML file size, as you might expect from the repeating tags. Unzipping on the receiving end using ZipInputStream adds about 10% to the parsing time. So performance will depend on the relation between network transmission speed and CPU speed.

Note that I did not do a complete SOAP application for that article, I just looked at file sizes and DOM parsing time.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic