Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How much performance do you get out a Heroku dynos/workers?

How much traffic can a site with 1 or 2 Dynos handle on www.Heroku.com and would increasing workers improve this? Any help on dynos/workers would be appreciated.

like image 700
Kevin Avatar asked Dec 21 '10 02:12

Kevin


People also ask

How do you get 1000 Dyno hours on Heroku?

Free dyno hour pool This means you can receive a total of 1000 free dyno hours per month, if you verify your account with a credit card. Used free dyno hours are non-transferable.

How much traffic can a Heroku Dyno handle?

standard-2x and private-s dynos support no more than 512. performance-m and private-m dynos support no more than 16384. performance-l and private-l dynos support no more than 32768.

How much RAM does a Heroku Dyno have?

Heroku memory limitsfree , hobby , and standard-1X dynos can use 512 MB of memory, while standard-2X dynos have access to 1 GB. performance-M and performance-L dynos provide 2.5 and 14 GB of memory.

What is Dyno usage for Heroku?

The Heroku Platform uses the container model to run and scale all Heroku apps. The containers used at Heroku are called “dynos.” Dynos are isolated, virtualized Linux containers that are designed to execute code based on a user-specified command.


1 Answers

This blog entry may be of use. He does a great breakdown of the kind of bottlenecks heroku can run into, and how increasing dynos can help, and provides links and information to the official performance guide on heroku as well as some tools that will help you test your own app.

Worker performance really depends on how your site is built and what you are using them for. Background processing (image formatting, account pruning, etc) called Delayed Jobs is how you put them to work

EDIT // 1 March 2012: Here is another blog entry that explored heroku latency and throughput performance for a variable number Dynos.

EDIT // 28 Feb 2013: There have been some concerns raised in this post regarding Heroku's random routing algorithm and how metrics may be misreported when scaling Dynos, specifically those provided by New Relic. This is still an ongoing issue and is something to note in the context of my previous answer. Heroku's responses are linked within the post.

EDIT // 8 May 2013: A recent post on Shelly Cloud blog analyses impact of number of dynos and web server used on application perfomance. Baseline performance script used there should be useful in performing further tests.

like image 70
Hortinstein Avatar answered Sep 20 '22 08:09

Hortinstein