Home > Backend Development > PHP Tutorial > laravel的queue实现

laravel的queue实现

WBOY
Release: 2016-06-06 20:35:53
Original
1009 people have browsed it

laravel的db queue实现原理是什么?

回复内容:

laravel的db queue实现原理是什么?

PHP 无守护进程的特性让任何持久化信息都必须存储在 DB 中。Laravel 的队列实现可以用一句话概括:

有一个地方存放队列信息,一个PHP进程在运行时将任务写入,另外一个PHP守护进程轮询队列信息,将达到执行要求的任务执行并删除。

这句话摘自《Laravel 4.2 中队列服务(queue)的使用感受和踩到的坑》一文,百度搜索“laravel queue”第一篇便是。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template