使用表排队 [英] Queue using table

查看:104
本文介绍了使用表排队的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用表来实现队列. 业务要求是只有一个队列,该队列将由5-10个框访问,以获取下一个作业.每天最多不会有5000个工作.另外,一批作业应一次出队".

I need to implement a queue using table. The business requirement is to have a single queue which will be accessed by 5-10 boxes to get the next job/jobs. There will not be more than 5000 jobs per day. Also, a batch of jobs should be "dequeued" at one time.

只是想知道我以前没有遇到过哪些问题领域和问题.如果以前有人遇到过/已经做到这一点,您能否请我指出设计/示例实现或需要注意的问题.

Just wondering what are the problem areas and issues I might run into as I havent done it before. If anyone has faced this/done this before, can you please point me to a design/sample implementation or issues that need to be taken care of.

谢谢

推荐答案

有很多通用排队或消息传递服务.即使您想实现自己的系统,也可以尝试看看其他一些系统.首先想到的是JMS( Java消息服务),其实现类似于 Apache ActiveMQ OpenJMS JBoss消息.然后,您也有很多非开源产品.

There are a lot of general purpose queuing or messaging services. Even if you want to implement your own system, you could try to have a look at a few others. The first thing that come to mind is JMS (Java Message Service) with implementations like Apache ActiveMQ, OpenJMS or JBoss Messaging. Then you have a lot of non-opensource offering as well.

第二件事是 Amazon Simple Queue Service .有几种产品可以实现相同的界面,例如 django-queue-服务.

Second thing that comes to mind is Amazon Simple Queue Service. There is a couple of products that implement the same kind of interface, like django-queue-service.

祝你好运!

这篇关于使用表排队的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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