Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails 3: Autoscaling workers in Heroku

What's the best way to autoscale workers in Heroku using Rails 3?

like image 889
donald Avatar asked Jan 06 '11 03:01

donald


People also ask

Does Heroku have Autoscaling?

Autoscaling. Heroku enables you to automatically increase the number of web dynos needed to meet your specified 95th percentile response time threshold. Based on your app's existing throughput, the autoscaling feature removes the need to anticipate traffic spikes.

What is Heroku worker?

Worker: Worker dynos can be of any process type declared in your Procfile, other than “web”. Worker dynos are typically used for background jobs, queueing systems, and timed jobs. You can have multiple kinds of worker dynos in your application. For example, one for urgent jobs and another for long-running jobs.

How scalable is Heroku?

Heroku makes it super easy for developers to scale any number of device integrations individually. Developers can simply provision more dynos to handle increased traffic coming in from a specific device.


1 Answers

Check out

  • https://github.com/meskyanichi/hirefire - open source
  • http://hirefireapp.com/ - service in public beta now
like image 140
wik Avatar answered Sep 30 '22 05:09

wik