The best way would be to chunk your binary blobs into 1/2MB chunks.

You could store

Key (md5 of entire blob) => part1, part2, part3 etc

BytesType Validation

Then if you want the entire image just grab the key (md5)..obviously you'll need a index somewhere with a filename => md5

Best,
Michael

From: Kanwar Sangha <kanwar@mavenir.com>
Reply-To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Date: Monday, March 4, 2013 11:34 AM
To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Subject: Storage question

Hi Can someone suggest the optimal way to store files / images ? We are planning to use cassandra for meta-data for these files.  HDFS is not good for small file size .. can we

look at something else ?

 

Thanks,

Kanwar

 


----------------------------------
Copy, by Barracuda, helps you store, protect, and share all your amazing things. Start today: www.copy.com.
  ­­