Base Implementation0
Many data compression implementations have been developed in the past, of which the Zlib implementation is, by far, the most significant one. The Fiorano compression implementation is based on "Zlib Compressed Data Format Specification Version.
This specification defines a lossless compression data format. The advantages of this compression implementation, as per specification, are:
- It is independent of CPU type, operating system, file system and character set.
- Can be produced or consumed by an arbitrarily long sequentially presented input data stream, using a bounded amount of intermediate storage.
- Can be implemented readily in a manner not covered by patents.
- Can use a number of different compression methods.
In FioranoMQ, the Zlib implementation provided in the default Java runtime library java.util.zip has been used. This implementation provides 'deflate' and 'inflate' mechanisms using different compression levels and different compression strategies. Compression level is the amount of compression required. Compression strategy is the actual compression method used.) The default strategy uses a combination of the LZ77 algorithm and Huffman coding.