example of bitcask/leveldb usage