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
  • 70,736
  • 21
  • 120
  • 147
Zakiullah Khan
  • 1,385
  • 2
  • 13
  • 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
  • 16,560
  • 8
  • 54
  • 90
  • 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