base zeromq and leveldb