[Backgroundrb-devel] Couple questions about backgroundrb

hemant gethemant at gmail.com
Wed Oct 24 09:56:58 EDT 2007


On 9/28/07, Joe Van Dyk <joevandyk at gmail.com> wrote:
> So, If I want to set up multiple running processes that do stuff, do I
> use the MiddleMan stuff?  The documents are confusing me.  What should
> the worker classes inherit from if they need to access rails models?
>
> On 9/28/07, Eric Pugh <epugh at opensourceconnections.com> wrote:
> > I agree with the -1 of cron..  it is a slippery slope..  You think
> > "Oh, I'll just cron this one job", and before you know it you have 5
> > or 10 of them..  And no way to monitor them from the webapp...  So
> > you start communicating via database tables..
> >
> > And then you deploy on a new server, and forget to check the crontab
> > because it's under some sort of special user account!   BackgroundRB
> > is much better..
> >
> > But I agree that it needs another release..  I have a version that
> > isn't trunk latest that works great for me, but when I tried trunk I
> > had lots of errors so went back to what worked.   Joe, I can zip it
> > and send it to you..  Not sure what "version" of backgroundrb it is
> > though...
> >
I was avoiding to count my chickens before they hatch, but I am
working on a version of BackgroundDrb which doesn't uses drb
altogether. I am running couple of my own workers and its working
pretty solid. Although its a bit rough around the edges and doesn't
offer some of the functionality that BackgroundDrb has (i hope to
implement them in time), but my idea was to have absolutely solid
workers. No crash, no logging problems, no corrupt result hashes and
no timer misses. Please wait till this weekend.

PS: I am the current maintainer of BackgroundDrb.

> > Eric
> >
> >
> >
> > On Sep 28, 2007, at 12:38 PM, Joe Van Dyk wrote:
> >
> > > cron only runs once a minute, some tasks need more frequent updates.
> > > Also, would prefer not to have to set up cron -- it's a pain to make
> > > sure that the environment gets set up properly.  And then the
> > > configuration is kept in multiple places.
> > >
> > > On 9/28/07, Chris Hall <christopher.k.hall at gmail.com> wrote:
> > >> cron + script/runner
> > >>
> > >> On 9/28/07, Joe Van Dyk <joevandyk at gmail.com> wrote:
> > >>> So, what's the status of this project?  I'm a little confused.  The
> > >>> documentation at http://backgroundrb.rubyforge.org seems out of
> > >>> date.
> > >>> It refers to http://svn.devjavu.com/backgroundrb/tags/release-0.2.1,
> > >>> which doesn't work.
> > >>>
> > >>> All I want is a way to easily set up tasks that should run
> > >>> periodically.  Some stuff should run every 10 seconds, some stuff
> > >>> once
> > >>> a day, etc.  The tasks will need to access Rails models and save
> > >>> data.
> > >>>  There's maybe 10 or so different periodic tasks.
> > >>>
> > >>> What version should I be using? trunk?  0.2.1?  Do you guys need a
> > >>> project hosting space?  How can I help?
> > >>>
> > >>> Joe
> > >>> _______________________________________________
> > >>> Backgroundrb-devel mailing list
> > >>> Backgroundrb-devel at rubyforge.org
> > >>> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
> > >>>
> > >>
> > > _______________________________________________
> > > Backgroundrb-devel mailing list
> > > Backgroundrb-devel at rubyforge.org
> > > http://rubyforge.org/mailman/listinfo/backgroundrb-devel
> >
> > -----------------------------------------------------
> > Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 |
> > http://www.opensourceconnections.com
> >
> >
> >
> > _______________________________________________
> > Backgroundrb-devel mailing list
> > Backgroundrb-devel at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/backgroundrb-devel
> >
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
>


-- 
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org


More information about the Backgroundrb-devel mailing list