9 Aug 2009 11:13
Re: Architecturally lost!?
On Sat, Aug 8, 2009 at 12:21 PM, Tom<qklxmf@...> wrote: > On Aug 8, 9:14 pm, Tom <qkl...@...> wrote: >> I am a queue newbie and are completely lost in the plethora of >> possibilities. My question is, what I will draft here, the best and >> MOST simple way to reach my goal - and especially is beanstalk the way >> to go? Any pointers really appreciated! Hi Tom, Your situation sounds like a perfect fit for beanstalkd. Simplicity is one thing beanstalkd has over every AMQP program. Several million messages per day throughput is easy. If you want to get started with basics, there is a tutorial in ruby at http://devver.net/blog/2008/10/ruby-beanstalkd-distributed-worker-basics/ . It has lots of example code. > Concrete questions: > 1.) Should I have two queues per protocol (incoming and outgoing). So > I end up having 6 queues if I use twitter, sms and xmpp? If you have a process that only knows how to handle, say, outgoing sms, it should get its own tube (aka queue). How are the incoming jobs created? Can you generate them all in the same format? If so, you could make one incoming tube, and have one type of worker that handles all incoming jobs, and puts appropriate(Continue reading)
RSS Feed