RocksDB: A Persistent Key-Value Store for Flash and RAM Storage