distribute async queue based on leveldb or redis