The VolatileDB gem allows you to specify a key and an action yielding a particular piece of data. This data will be stored in the /tmp folder of the file system you are currently running on. Data is accessible by key. Data will be read and written to storage using and -- that's it. It's up to the consuming application to serialize and deserialize data correctly. All VolatileDB does is push and pull data to the FS. If the underlying file supporting the data is found to be missing, it will be re-initialized. This gets to the main idea behind VolatileDB: use it to persist data that is transient and can be re-seeded periodically as conditions change.

installgem install volatiledb

Sebastian Wittenkamp (bitops)

4,244 total downloads 906 for this version


gem 'volatiledb', '~> 1.0.0'
  1. 1.0.0 January 11, 2012 (52 KB)
  2. 0.0.4 January 11, 2012 (52 KB)
  3. 0.0.3 January 10, 2012 (6 KB)
  4. 0.0.2 January 4, 2012 (5 KB)
  5. 0.0.1 January 4, 2012 (5 KB)