When to add Heroku web dynos

7 views
Skip to first unread message

Chris McCann

unread,
Sep 27, 2018, 2:30:28 PM9/27/18
to SD Ruby
All,

I currently run Airnoise.io on Heroku with one web and two worker dynos. 

When I look at the metrics for the web dyno I often wonder what values of Response Time, Throughput, and Dyno Load would indicate the need for an additional web dyno. 

Occasional spikes of Dyno Load to 1.0 make me wonder if the web dyno is getting saturated with requests, but I don't really see any way to tell if requests are being dropped. 

If anyone has some experience in using the Heroku metrics to help guide their scaling, or if tools like New Relic offer better, more actionable data, I'd love to hear how you use those tools to manage your Heroku infrastructure.

Cheers,

Chris

Bill Vieux

unread,
Sep 27, 2018, 2:40:16 PM9/27/18
to sdr...@googlegroups.com
Heroku recommends keeping it between .5 and 1 for non-performance dynos, so you should be fine there. 

I highly recommend the New Relic addon for Heroku - should be free for your current set up.  Makes it very easy to see both web and background job request times, dyno memory usage, etc. I also love Airbrake for error tracking. 

--
--
SD Ruby mailing list
sdr...@googlegroups.com
http://groups.google.com/group/sdruby
---
You received this message because you are subscribed to the Google Groups "SD Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sdruby+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chris McCann

unread,
Sep 27, 2018, 2:42:16 PM9/27/18
to sdr...@googlegroups.com
Great, thanks, Bill. I do use Airbrake and have the New Relic add-on though I'll admit their interface has always seemed a bit overwhelming in terms of the quantity and variety of information it provides. Will take another look.

You received this message because you are subscribed to a topic in the Google Groups "SD Ruby" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sdruby/2JmZX_7aB4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sdruby+un...@googlegroups.com.

Bill Vieux

unread,
Sep 27, 2018, 2:43:52 PM9/27/18
to sdr...@googlegroups.com
Happy to do a screenshare with you! 

Alex Boster

unread,
Sep 27, 2018, 2:44:26 PM9/27/18
to sdr...@googlegroups.com
We use HireFire to autoscale dynos. The web dyno scaling is triggered by NewRelic’s Apdex score. Seems to work fine?

AB

Nick Holden

unread,
Sep 27, 2018, 7:46:45 PM9/27/18
to SD Ruby
Hi Chris,

A former coworker of mine is an expert on Heroku performance and scaling, and he's happy to hop on free consulting calls with anybody willing to give his Rails Autoscale a try. I'd recommend reaching out to @adamlogic on Twitter, or I'd be happy to make an introduction if you'd prefer.

- Nick
Reply all
Reply to author
Forward
0 new messages