modified hashring and messagequeue