incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Allsopp <>
Subject Re: Storing (python) objects
Date Fri, 23 Sep 2011 09:07:30 GMT
We have done exactly as you describe (nested dicts etc) - works fine as long
as you are happy to read the whole lump of data, i.e. don't need to read at
a finer granularity. This approach can also save a lot of storage space as
you don't have the overhead of many small columns.

Some folks also write JSON, which would be a bit more language-independent
of course.

On 22 September 2011 19:28, Ian Danforth <> wrote:

> All,
>  I find myself considering storing serialized python dicts in Cassandra.
> I'd like to store fairly complex, nested dicts, and it's just easier to do
> this rather than work out a lot of super columns / columns etc.
>  Do others find themselves storing serialized data structures in Cassandra
> or is this generally a sign of doing something wrong?
>  Thanks in advance!
> Ian

View raw message