๐Ÿ“Separate storage and query layers

tags

ยง Database ยง Software Architecture

When designing a data store, it might be a good idea to separate storage and query (and maybe index) layers.

Besides creating a clear separation of concerns, this allows running queries on nodes that do not have whole data (only index is needed). This also allows offloading data to cheaper storage like s3.

Examples

In Datomic (Hickey2012):

In Perkeep (Fitzpatrick & Lonjaret2018):

Backlinks