An immutable document/key-value database