On 7/15/11 5:45 PM, Richard Eckart de Castilho wrote:
I don't see why a pluggable zip should be necessary. Java supports ZIP (JAR) out of the box using the classes in java.util.zip. If the type system is not persisted together with the XMI, then a GZIP (Java Native) or BZIP2 (comes with Apache Ant) would be ok as well. Given that a reader cannot change the type system of a CAS, carrying a serialized type system with each XMI is questionable.
Performance of the compression algorithm is very important for the group of people who need compression to more efficiently exchange CASes. If you store a huge number of CASes in some kind of database, you can simply use the compression of the DB instead of compressing CASes yourself. We do that with for example with HBase and LZO. Jörn
