In the quest for packet based web services, one big problem -- at least a performance problem -- stands out: XML, which is used in SOAP messaging, is horribly verbose.
In his paper, Compressing XML with Multiplexed Hierarchical PPM Models, James Cheney examines the various means of compressing XML files. And while he pushes hard to get the very best possible compression by using XML-aware techniques, even the widely used gzip is able to achieve about an 8 to 1 compression, which is really good. Plus, gzip compression is used in HTTP, so it has a defacto use in transport compression. The best compression he found as more like 12 to 1 compression, but apparently a bit of a time hog.
Gzip also is built into Java, making it easy to build support there, and there are freely available gzip libraries for .Net and PHP, covering about 99% of all web site development.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment