Zend Job Queue的替代方案 [英] Alternative for Zend Job Queue

查看:103
本文介绍了Zend Job Queue的替代方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Zend Job Queue的替代解决方案是否可以在没有Zend Server的情况下使用?

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

我的应用程序需要接受快速请求并提供快速响应(接收),并将此部分限制为数据库输入.在后台执行此附加过程以分析此请求(生成PDF文件,发送带有PDF的电子邮件,发送文本消息等)之后,我不想初始化请求以等待所有这些操作完成-只需提供收据并让服务器在几秒钟后完成操作...

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将是一个完美的解决方案,但是我现在不能在Zend Server环境中使用. Cron作业每分钟运行的方法不是一个好方法:(最多延迟60秒,并且每分钟检查数据库中是否有新条目,而不是按需检查).

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 ?

推荐答案

以前,我使用BSD lpd进行队列管理(在我的情况下,该队列用于处理SMS和传真的调制解调器的队列访问,而不是用于需求管理).但是,还有许多其他工具可用.例如 rabbitMQ 豆缠

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

这篇关于Zend Job Queue的替代方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆