
Dan Ivovich from SmartLogic - Elixir in Production
We talk with developers from the team here at SmartLogic about our current practices on deploying Elixir and Phoenix in production.Dan Ivovich - Director of Development Operations @ SmartLogicLearn more about how SmartLogic uses Phoenix and Elixir.Dan Ivovich - Director of Development Operations @ SmartLogicEric Oestrich - Developer, Elixir Lead @ SmartLogicJustus Eapen - Full stack developer @ SmartLogicIntroduced to Elixir by an old colleague. Several client projects in production. Several Mobile Apps with APIs powered by Phoenix and Elixir. Baltimore Water Taxi. A digital marketplace.And more!We made the switch when a colleague was stoked about Functional Programming and introduced us to Elixir. We were won over by the performance and rich feature sets, OTP, etc.Heroku AWS Linode Digital Ocean Ansible - for underlying VPS’s, servers, and more recently deployment itself. (Similar to Capistrano).DistilleryMix.release Old school load balancers and rolling restarts Ruby ends up with memory leaks. That doesn’t happen with Elixir. Memory utilization is flat and low no matter what. “Phenomenal response times” Going Multi Node (https://www.youtube.com/watch?v=lCUKQnkjajo) Pg2 - process groups Mnesia distributed database (beware!) “Just sending messages to pids because Erlang is great” Swarm / Horde Started with verk Recently becoming more comfortable with spinning up GenServers “The language itself is built to be concurrent.” First thing: You don’t need a whole lot because the language is so well designed. Phoenix - web framework Ecto - sort of an ORM Distillery - for releases Bamboo - for sending emails Quantum - for task scheduling Timex - for dates and times, and timezones Cachex - for caching Stripe Square Twilio Mindbody Always building our own clients. Using HTTPoisonIt’s saved many days by PREVENTING ISSUES. Systems are architected for reliability and fault-tolerance.OTP is an Erlang standard lib Includes supervision trees, genservers, ETS, and a lot of stuff we don’t even know about! gen_tcp Mnesia dets Jump in and read the docs Understand how systems boot, distillery releases, config providers, etc. “Good server monitoring hygiene” “DIVE IN!” Learn more about how SmartLogic uses Phoenix and Elixir.Special Guest: Dan Ivovich.Links:Going Multi-NodePG2mnesiaSwarmHordeVerkBambooQuantumCachex
This podcast uses Fireside for stats. What this means Episodes play from the podcast's own servers, unmodified. Not affiliated with Podbay.
