首页
开发手册
应用中心
工具
用户中心
DBO应用:Redis Queue
English
中文简体
English
上一篇
下一篇
##DBO Application:Redis Queue `The redis queue is convenient and quick to implement push functions, such as: WeChat template messages, SMS group sending, application notifications, etc.` `FoundPHP The redis integrated queue method uses a first-in first-out model.` ####Insert Message ```php insert('FoundPHP_push',$txt); //close the database $redis->close(); ?> ```
####execution queue ```php query('FoundPHP_push'); if($res){ //get data echo 'dbo Redis:'.$id."\r\n"; //write your own logic } //set delay time sleep(0.5); } ?> ``` achieve effect: ![](data/files/edit/20/05/21/200521_20433914.png)