use hiredis instead of leveldb