Wow, thanks for all the responses.

I haven't tried any background processing on Heroku yet and was hoping
to get this kind of insight.

I've run Resque locally and assumed that was the way to go since when
I researched this a while back there were doubts expressed about DJ's
stability (sorry DJ), and other options seemed to have gone legacy on
us.

What I need this for is typical message dispatch stuff: send off an
email, SMS, etc. I saw the Scheduler announcement but it doesn't seem
to fit this use case.

I see a particular fork of Resque is recommended. I hadn't seen
girl_friday before, so I'll have to check that out too. I've also
considered using Node instead of Rails for its asynchrony.

On Dec 8, 7:08 pm, Alex Chaffee <[email protected]> wrote:
> I rolled my own background job processor using CouchDB. Procfiles and
> Foreman and the Cedar process model make it very simple. I can even scale
> up and down using the Heroku API from inside a running Heroku web process;
> I think the Resque systems I saw described don't allow you to scale down to
> 0 workers but mine does.
>
> Check the code athttps://github.com/alexch/sharebro, especially
>
> https://github.com/alexch/sharebro/blob/master/spec/ant_spec.rbhttps://github.com/alexch/sharebro/blob/master/lib/ant.rbhttps://github.com/alexch/sharebro/blob/master/work.rb
>
> If anyone's interested I could collaborate on pulling it out into yet
> another gem, but for now it's stuck in this app (and a couple other private
> ones).
>
> For an arguably better system 
> seehttp://blog.leshill.org/blog/2011/04/03/using-resque-and-resque-sched...https://github.com/ajmurmann/resque-heroku-autoscaler
>
> but I didn't want to add Redis and Resque -- I prefer the devil I know
> cause I created him :-)
>
>  - A

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.

Reply via email to