Sunday, February 15, 2015

What is dirty db ?


It is a in-memory db used in Node.js
A tiny & fast key value store with append-only disk log. Ideal for apps with < 1 million records

This module is called dirty because:
  • The file format is newline separated JSON
  • Your database lives in the same process as your application, they share memory
  • There is no query language, you just forEach through all records
So dirty means that you will hit a very hard wall with this database after ~1 million records, but it is a wonderful solution for anything smaller than that.

No comments:

Post a Comment