Beanstalkd doesn't really get involved with what is going on other than being a conduit from one part of your application to another.
In other words if you want to have to long running jobs that's fine - just make sure your jobs TTR is long enough to not be automatically released before your consumer finished. (Or maybe use a database to store a lock on a record that gets freed after the job is done to prevent jobs from backing up in your queue, etc) And if you want your master to know you'll have to come up with a system for that yourself - example results to a new tube that your master consumes from. Or use a database to hold results. Etc. The beauty of beanstalkd is in it's simplicity and flexibility. Do whatever YOU want how YOU want to do it. Have fun. --chad On Mon, Nov 25, 2013 at 3:52 PM, ashahzad <[email protected]> wrote: > Hi All, > I am new to Beanstalkd. I have 2 questions: > 1) Is beastalkd suitable for jobs that take long time to process ( on > average around 8 min per job) ? > 2) Is there any way for master ( worker who is putting the jobs in the > queue ) to know if all jobs are done ? I am talking about a scenario in > which master gets a job. Master divides the task to several independent > tasks that can run in parallel, puts them in a queue, and then wait for all > jobs to finish, because Master has to do some work when all jobs are > finished. > Regards, > ashahzad > -- > You received this message because you are subscribed to the Google Groups > "beanstalk-talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/beanstalk-talk. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "beanstalk-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/beanstalk-talk. For more options, visit https://groups.google.com/groups/opt_out.
