Skip to content

Instantly share code, notes, and snippets.

@jeffposnick
jeffposnick / @ SimpleDB.md
Last active September 7, 2016 17:19
Simple DB

SimpleDB - Like Indexed DB, but Simple

A simple asynchronous data store.

STATUS: This is a thought experiment, not a serious proposal. Would basic async storage like this be useful? With this plus some locking primitive, could you build Indexed DB?

Like Indexed DB:

  • rich value types - store anything you can structured clone
  • rich key types - Number, String, Date, Array (of other key types)