From: "ara.t.howard" Date: 2008-12-17T01:45:22+09:00 Subject: Re: How to run background processes (more than 1 worker) parallely. On Dec 12, 2008, at 6:58 AM, Deepak Gole wrote: > Hi > > My requirement is as follows > > 1) I have around 200 feeds in the database that I need to parse (fetch > contents) *parallely* after some interval and store those feed > items in > database. > > 2) Now I am using backgroundrb with 10 workers each worker has > assigned a > job to parse data from 20 feeds (e.g 1st worker will fecth data from > feeds(1..20), 2nd from feeds(21..30) ..etc..... > > 3) But backgroundrb is not reliable and it fails after some time. So > I have > tried Starling & Workling but those worker doesn't run *parallely. > > ( I need to run **parallely because those feeds will increase say 1000 > feeds. So I can't run them sequentially. ) * > * > Pls I need a help on above problem.* > > > Thanks > Deepak use bj http://codeforpeople.rubyforge.org/svn/bj/trunk/README it was written for engine yard and is under heavy use there. the focus is on simplicity and robustness. a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama