From my reading of the docs + code, and vague chattering with others
on Twitter, there is nothing in the beanstalkd protocol or
implementation that lets you do this.
I would love to be proved wrong - I have a need for this sort of
functionality and have considered patching it in.
Cheers,
Lindsay
--
http://holmwood.id.au/~lindsay/ (me)
The only problem with this is that freeing n jobs is O(n). I prefer
all commands to run in O(log n).
It'd have to remove the jobs without freeing them, then free them
incrementally later. There might even be a trick somewhere in there to
eliminate the time spent freeing them...
kr
On Fri, Dec 4, 2009 at 12:05 PM, Rob Davies <rajd...@gmail.com> wrote:I'm a fan of the simplicity of Beanstalk - something I would like todo is promote even wider adoption of the protocol by implementing aBeanstalk plugin to the Apache ActiveMQ broker - so that tasks couldbe optionally persistent, and there could be interchange betweenActiveMQ Queues and Beanstalk workqueues.
Just to see if I understand, you want to teach ActiveMQ to act like a
beanstalk server?
I'm interested to gauge feedback to see if this would be anabomination or if you guys think it would be useful. I'm keen not stepon anyones toes here!
Don't worry about that. :) I think it would be interesting. Most
likely, you'll find all sorts of problems in the protocol doc. Right
now, it is mostly *descriptive* of the server, rather than
*prescriptive*, so it is probably full of ambiguity. So I guess I
would selfishly encourage you to proceed, because I look forward to
getting lots of bug reports. :)
kr
--
You received this message because you are subscribed to the Google Groups "beanstalk-talk" group.
To post to this group, send email to beansta...@googlegroups.com.
To unsubscribe from this group, send email to beanstalk-tal...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en.