Ruby on Rails Sunday, June 30, 2013

On Sun, Jun 30, 2013 at 10:59 AM, Linus Pettersson
<linus.pettersson@gmail.com> wrote:
> So, I'm using Heroku and wonder if I need to use a separate worker dyno for
> these jobs? Or can I use, for example, Unicorn to run Sidekiq "inside" my
> one web dyno?

You can, but it's not recommended.

> I read something about it here: https://coderwall.com/p/fprnhg
> But is it a good idea?

Not if you ask me.

> If it is not appropriate do it this way, can I spin up a separate worker
> when I need to? Perhaps I will create these jobs once a week. It would be
> cool to create a worker -> finish all jobs -> kill worker. Possible?

Have a go with: https://github.com/JustinLove/autoscaler

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAM5XQnwtPUKfJB9U%2Ba66D%3Df0OLSYF%3DXSVDhegG2TyRdJ9QZEnw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment