基于redis使用swoole异步redis和yield开发的全异步队列
php server.php
./cli.sh start
./cli.sh stop
./cli.sh restart
$mq = MqClient::getInstance(['ip' => '127.0.0.1', 'port' => 9570]);
$mq->setQueue('sms');
$mq->push('asdfasdg');
$r = $mq->pop();
$mq->ack($r['id']);