yuntian001 / multi-process-queue Goto Github PK
View Code? Open in Web Editor NEW基于 swoole 的多进程队列系统,低延时(最低毫秒级)、低资源占用, 支持一键化协程、超时控制、失败重试。可与 laravel thinkphp 等框架配合使用
License: MIT License
基于 swoole 的多进程队列系统,低延时(最低毫秒级)、低资源占用, 支持一键化协程、超时控制、失败重试。可与 laravel thinkphp 等框架配合使用
License: MIT License
请问联系方式是啥?有问题请教下。:-)
请问下大佬,php mp-queue worker:start
后CPU直接跑满了,我用的腾讯云1核2G的,这是正常的吗,queue数组就一个任务队列worker_number设置的2
是这样的,因为队列用来后台调用第三方接口的,人家的接口有qps限制,需要的是同步阻塞的队列,例如现在有一万个调用接口任务,我设置4工作线程,每次取出4个调用参数调用对方接口,调用完成后才取出下四个
可以用这个包创建一个秒级的定时任务吗?
例如要后台处理一万条订单的审批,可以在投递任务时把订单号或别的唯一标识传进去,在处理任务时传到handle方法里面,然后根据订单号查询数据库处理业务
请问下如果是多分布式部署下,服务名称跟驱动那边如何填写配置,我看例子跟文档上面只写了单台服务器跟一句注释,望大佬解答下
您好 我这边使用的tp6 我想在 \MPQueue\Job的子类中 使用db 这种情况该怎么操作
请问下thinkphp6中配置项worker_start_handle应该如何配置呢
在当前Job中调用\MPQueue\Queue\Queue::push()推送一个新的延时任务时,会导致当前job超时,当前的job会根据新的推送delay时间一直working,直至结束或超时
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.