Open jkoshy opened 13 years ago
Try avro. It has the most frugal encoding.
A portability hurdle: building Avro from source requires that the build machine have java
, ruby
, php
, python
, c
and c++
all installed on it, in addition to Apache ant
and mvn
. This is a bit much to expect from the typical developer!
I cannot also find pre-built packages for the Linux based OSes that I can point people to.
I had a quick look around in the Avro Python source tree: the build requires ant
but this is used only to set the value of the AVRO_VERSION variable.
which linux are you looking for? You may shoot a mail to the user mailing list. I'm sure somebody would have built for that On 18 May 2011 15:58, "jkoshy" < reply@reply.github.com> wrote:
I searched for prebuilt packages for Ubuntu or Debian; packaged Avro libraries have not reached those repositories yet.
The download page for Avro has source code only; nothing in pre-packaged form.
Anyhow, for now I have forked the Avro tree, let me see if an alternative build scheme is easy to implement...
The jkoshy-build-rework branch of my fork of Avro now supports the following features:
build.sh
script works with a stock /bin/sh
.build.sh
script supports a -l LANG
option, that allows builds to be restricted to language LANG
.distutils
), without the need for an intermediate pre-processing step by ant
.This looks like a useful feature in general. You may contribute it back to avro itself . Raise an issue here
FYI, the following patches have been submitted to the Avro project:
distutils
control file setup.py
to build Avro/Python without a pre-processing step.
Store data in the data store encoded using protobufs. If done right, this change has the potential to reduce the storage requirements for the back end.