On Wed, Nov 24, 2010 at 9:49 PM, Adnan <[email protected]> wrote:
> can you please elaborate it further. I also have several Json Encoded
> Jobs and I want to add validation feature in it before inserting a job
> in queue. Like I have to check the duplication of Title. Now I can't
> check duplication while dequeuing.

Right now there's no great way to avoid duplicate jobs in beanstalkd.
The usual answer is to make your jobs idempotent, so that duplication
isn't harmful (even if it wastes effort). Named jobs
(https://github.com/kr/beanstalkd/issues/issue/2) will make
deduplication easier.

> How can i actually "release" job?

Beanstalkd has a command called "release".

https://github.com/kr/beanstalkd/blob/master/doc/protocol.txt#L263

kr

-- 
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=en.

Reply via email to