Lonestar ElixirConf 2017- Creating a Nerves-based Status Monitor... by Andrew Selder

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=vbPbulimWLk



Duration: 32:50
2,082 views
15


Lonestar ElixirConf 2017- Creating a Nerves-based Status Monitor (or how to sneak Elixir into your company) by Andrew Selder

Like many of you, the organization I work for is deeply invested in an ecosystem other than Elixir, in our case Rails. However, we have lots of engineers interested in Elixir. The question: how do we get the rest of the developers interested and convince the bosses that Elixir is a worthwhile technology to invest in?

In deciding what to do, we had to consider the potential impact to our service (the Boss really frowns on taking down the site and annoying paying customers), the scope of the project (the Boss frowns on developers disappearing for a month to play with cool shiny things), intriguing the other engineers (engineers like cool shiny things). Balancing all these concerns was the key in getting buy-in from everyone.

We decided to build a status monitoring device using Nerves that shows the high level health of our app at a glance. We have LED strips showing recent apdex scores for our app (via NewRelic’s API), recent error rates (from Honeybadger), and the status of recent builds (from CircleCI), along with a big red flashing light for when Pingdom says our site is down.

For about $100 in parts, and a couple weekends of hacking, we built an appliance that was useful to the organization, showed off the power of Elixir/OTP, and was just darn cool!

In this talk, I'll go through how we created the appliance, the things we learned, and how this was a great project for introducing Elixir to the company. We’ll discuss why a Nerves based hardware project made sense given what we wanted to accomplish and the level of Elixir chops on the team. We’ll walk through the initial proposed design, and talk about how it evolved as we actually wrote the code. Finally we’ll take a look at the source code we ended up with, and see the monitor in all its glory.




Other Videos By Confreaks


2017-03-16ElixirDaze 2017- Yesterday's Cargo by Dave Thomas
2017-02-28Lonestar ElixirConf 2017- Lightning Talks by Various Presenters
2017-02-28Lonestar ElixirConf 2017- Elixir Adoption at Scale: A Comprehensive Guide by Ben Marx
2017-02-28Lonestar ElixirConf 2017- Using Ecto outside of Phoenix by Geoffrey Lessel
2017-02-28Lonestar ElixirConf 2017- Using Elixirscript by Bryan Joseph
2017-02-28Lonestar ElixirConf 2017- Shattering your application into an umbrella project by Luke Imhoff
2017-02-28Lonestar ElixirConf 2017- Holistically built and tested APIs by Brian Cardarella
2017-02-28Lonestar ElixirConf 2017- Leveling up your Phoenix Projects with OTP by Nico Mihalich
2017-02-28Lonestar ElixirConf 2017- Raspberry Pi Cluster with the Power of Elixir by Ricardo Echavarria
2017-02-28Lonestar ElixirConf 2017- The NeverEnding Application by James Gray & Paul Dawson
2017-02-28Lonestar ElixirConf 2017- Creating a Nerves-based Status Monitor... by Andrew Selder
2017-02-28Lonestar ElixirConf 2017- How we Build Vutuv by Stefan Wintermeyer
2017-02-28Lonestar ElixirConf 2017- Closing Keynote by Dave Thomas
2017-02-28Lonestar ElixirConf 2017- Opening Keynote by Justin Schneck
2017-02-28Lonestar ElixirConf 2017- KEYNOTE: Phoenix 1.3 by Chris McCord
2016-11-22DevOpsDays Philly 2016 - Software-Defined Culture by Tim Gross
2016-11-22DevOpsDays Philly 2016 - Ignite: Effective Remote Workers by Rick Pufky
2016-11-21RubyConf 2016 - Halve Your Memory Usage With These 12 Weird Tricks
2016-11-21RubyConf 2016 - Diving into the Details with DTrace by Colin Jones
2016-11-21RubyConf 2016 - To Clojure and back: writing and rewriting in Ruby by Phill MV
2016-11-21RubyConf 2016 - Why recursion matters by James Coglan