cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: encoding of values in cassandra
Date Wed, 10 Nov 2010 19:14:01 GMT
We are moving towards treating Thrift more as a driver than as a
format itself, and using libraries like Hector, pycassa, and phpcassa
from the client.

On Wed, Nov 10, 2010 at 1:03 PM, Koert Kuipers
<> wrote:
> Cassandra keys and values are just bytes. My values range from simple
> doubles to complex objects so I need to serialize them with something like
> avro, thrift or protobuf.
> Since I am working in a test environment and casssandra is moving to avro I
> decided to use the avro protocol  to communicate with cassandra (from python
> and java). So naturally I would also like to encode my values with avro (why
> have 2 serialization frameworks around?). However avro needs to safe the
> schema with the serialized values. This is considerable overhead (even if I
> just safe pointers to schemas  or something like that with the serialized
> values). It also seems complicated compared to thrift or protobuf where one
> can just store values.
> Did anyone find a neat solution to this? Or should I just use avro for
> communication and something like protobuf for value serialization?
> Best, Koert

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support

View raw message