Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Heroku Superpowers

Heroku Superpowers

Tips & Tricks for Boosting Your Team's Productivity

Mike Coutermarsh

November 06, 2017
Tweet

More Decks by Mike Coutermarsh

Other Decks in Technology

Transcript

  1. Heroku ​Deploy, manage and scale your web applications • Developer

    happiness – makes operations “easy” ​Saves us “one engineer” • More expensive than using AWS directly – but time savings are huge • Spend our time on building features rather than configuring servers ​Polyglot - works with almost any stack • Ruby, Node, Java, Elixir, Crystal, PHP, Go ​PaaS for Web Applications
  2. Product Hunt ​High Traffic Web Application + API • React.js,

    Ruby, Rails, Node • 14 Heroku Applications • API for our iPhone app ​Distributed Team • 9 engineers and designers • Working across 5 different time zones ​The best place to find your next favorite thing
  3. If a robot can do it A robot should do

    it Efficient engineering teams:
  4. Superpower #2 ​Minimum dynos • Recommendation: at least 2 ​Maximum

    dynos • Be careful here – be aware of database connection limits ​95p request time • Heroku gives a suggestion on how to set this ​Autoscaling
  5. Superpower #2 ​Currently limited to performance or private dynos •

    Alternative: HireFire ​It’s not magic • Does not solve all your scaling problems • Scaling out has limits – read the documentation! • Sudden spikes (TV commercial) ​Adjust settings and monitor ​Autoscaling
  6. Superpower #3 ​Database connections • Over 300 connections used ​Dyno

    free memory • > 80% of memory used ​Dyno CPU load • Above 50% ​Web response times • Above 1000ms ​Automatic Performance Monitoring