Slashdot Mirror


XML Compression Options?

ergo98 asks: "About a year ago I had the need to evaluate XML compression technologies (for a project where two machines had to communicate via XML document, and there was an excess of CPU power and a dearth of bandwidth): At the time the best option seemed to be a research project called XMill, however it seemed even then to be an abandoned project with no more updates and little market presence, and was only source available as a command line utility requiring reworking into library form. I'm curious if there's been any progress in the XML compression arena in the past year: If you have more CPU power than bandwidth what is the best option for XML document compression? Has any XML specific compression algorithms been made as a module for Apache?"

2 of 51 comments (clear)

  1. ummm... by bprotas · · Score: 1, Redundant

    ...gzip? sure it's not state of the art, but everything supports it, and it's a decent compressor....

  2. dot gz by forehead · · Score: 1, Redundant

    It's text. Gzip/Bzip2/Compress/(pk)zip will all do a decent job. If you are using C++, the following library may be useful. http://www.cs.unc.edu/Research/compgeom/gzstream/. Basically, it implements an igzstream and ogzstream which look and act like normal C++ IO streams, but automagically gzip (or gunzip) the data.

    --
    --