3

I am interested in finding candidate software that can help me build a program that will do this:

  • simple key-value store, with key being a hash, and value being a potentially large file (10-100mb. total dataset can easily run to 200gb and up)
  • very low volume of requests. maybe 1000 per hour, probably less
  • between 2x-5x more reads than writes
  • automatically remove data that hasn't been queried for a while to keep diskspace under control
  • it's ok for the system to lose data.
  • easy install / few dependencies / easy to make xplatform

Sofware like Redis and MongoDB seem like interesting candidates, but they also very much seem to try to solve the problem of efficiently dealing with many requests per second, usually powering websites. A requirement I do not have at all.

I am wondering if you know of a tool that would be a better match to the specific problem I am trying to solve.

1
  • what query language / access model do yo uanticipate?
    – Randy
    Oct 18, 2012 at 21:28

1 Answer 1

3

Based on your requirements, the simplest solution is to use the file system to store your data. Use hash key as file name.

Lookup will be efficient, and data will be cached in memory for you automatically.

If your file system supports it, you can do regular clean up based on last access time for each file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.