In-memory key value database