Alternative for Zend Job Queue

扶醉桌前 提交于 2019-12-24 17:44:10

问题


Is it alternative solution for Zend Job Queue what could be used without Zend Server ?

My application need to accept quick request and provide quick response (receipt) and limit this part to database entry. After this additional process should be executed in background to analyze this request (generate PDF file, send emails with PDF, send text message, etc) I do not want to initial request to wait for all those actions to finish - just provide receipt and let server do it a few seconds later...

Zend Job Queue would be a perfect solution, however I can not effort Zend Server environment at this moment. Cron job run every minute is not good way: ( up to 60 seconds delay, and checking database every minute for new entries instead on demand ).

How would you tackle this problem ?


回答1:


Previously I used the BSD lpd for queue management (in my case to queue access for a modem handling SMS and fax, rather than for demand management). But there are lots of other tools available. e.g. rabbitMQ, Dropr, beanstalkd




回答2:


It's an old topic but I wes looking for a zend queue replacement too. Laravel queues seems to be the most similar library: https://laravel.com/docs/5.7/queues



来源:https://stackoverflow.com/questions/7077782/alternative-for-zend-job-queue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!