1

I am trying to understand what NoSQL storage would work best if I need to store images (list size in 6 digits, each image of size 2mb) in-memory for process pipelining ? To my understanding I have considered key-value store like Redis, or should I go for document based storage like CouchDB ?

Thanks.

JasonSmith
  • 72,674
  • 22
  • 123
  • 149
Zakiullah Khan
  • 1,445
  • 2
  • 15
  • 26

1 Answers1

0

As @Didier said, the total size is too high for Redis (even if you shard it across several machines - you'll need a lot of machines and a lot of RAM).

Go for disk-based database (if design dictates saving the binaries in a database - that is another story), but consider using Redis for the most recently used images, using its capabilities of expiring keys, MRU/LRU settings, memory threshold etc.

Community
  • 1
  • 1
Ofer Zelig
  • 17,068
  • 9
  • 59
  • 93
  • Yes thats a lot fo space and eventually the cluster size would be a big fat one. For disk based storage, what's your view on Riak ? – Zakiullah Khan Jan 25 '12 at 20:18