![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
队列
道亦呀
这个作者很懒,什么都没留下…
展开
-
redis队列
index.php<?php$redis = new Redis();$redis->connect('127.0.0.1',6379);$password = 'password';$redis->auth($password);$arr = array('0','1','2','3','4','5','6','7','8','9');foreach($arr as $k=>$v){ $redis->rpush("mylist",$v);}demo.p原创 2020-12-04 11:19:37 · 109 阅读 · 1 评论 -
Pheanstalk队列
Pheanstalk队列安装composer install pda/pheanstalk生产者application/index/index.php<?phpnamespace app\index\controller;use Pheanstalk\Pheanstalk;class Index{ public function index() { $data = [ 'price' => 1.00,原创 2020-12-02 11:20:23 · 581 阅读 · 0 评论