avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-135) add compression to data files
Date Mon, 05 Oct 2009 22:34:31 GMT

    [ https://issues.apache.org/jira/browse/AVRO-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762427#action_12762427
] 

Doug Cutting commented on AVRO-135:
-----------------------------------

The first codec to implement is probably zlib, since it has built-in support in Java and Python
and its license is compatible with Apache, so we can use it from C and C++ too.  I propose
that we name this codec "zlib".

The second codec to implement might be LZF.  Like LZO, this is much faster than zlib/gzip,
without achieving quite as much compression.  Unlike LZO, it's license is compatible with
Apache.

http://software.schmorp.de/pkg/liblzf.html

There's a Java port of LZF, so we would not need to use native code from Java.

http://h2database.googlecode.com/svn/trunk/h2/src/main/org/h2/compress/CompressLZF.java

Unfortunately I can't find a Python binding.  How hard is it to call C from Python?



> add compression to data files
> -----------------------------
>
>                 Key: AVRO-135
>                 URL: https://issues.apache.org/jira/browse/AVRO-135
>             Project: Avro
>          Issue Type: New Feature
>          Components: java, spec
>            Reporter: Doug Cutting
>
> We should add support for at least one compression codec to data files.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message