Embedded key-value store for fast storage