32: Circuit Breaker and Elixir Patterns with Allan MacGregor

We talk with Allan MacGregor about implementing the Circuit Breaker pattern in Elixir and compare that to just using a job library. We get into a fun discussion about design patterns in Elixir and designing for failure. Allan is creating a project called Site Guardian using the PETAL stack and shares his experiences with it and much more! Show Notes online - http://podcast.thinkingelixir.com/32 Elixir Community News https://elixir-lang.org/blog/2021/01/13/orchestrating-computer-vision-with-elixir/ – New Elixir case study features the company V7 where they use Elixir for orchestrating computer vision. https://www.phoenixframework.org/blog/improving-testing-and-continuous-integration-in-phoenix – Phoenix is using Earthly for running tests on CI and locally https://github.com/sasa1977/ci – Sasa Juric releases a hex package to run CI https://hexdocs.pm/oban/web-changelog.html#v2-5-0-2021-01-15 – Oban Web v2.5.0 is out with new features https://hex.pm/blog/hex-v0.21-released – Hex 0.21 released. Adds registry self-hosting and more! https://hex.pm/docs/self_hosting – Documentation on self-hosting Hex https://twitter.com/josevalim/status/1350004900973981699 – Jose Valim is requesting written guides or blog posts from people who have used "mix phx.gen.auth" and customized it https://github.com/erlang-ls/erlang_ls/releases/tag/0.8.0 – Erlang-LS - Language server 0.8 was released along with a VS Code extension https://thinkingelixir.com/petal-stack-in-elixir/ – ThinkingElixir post on PETAL stack https://changelog.com/posts/petal-the-end-to-end-web-stack – Lars Wikman post on PETAL stack https://redrapids.medium.com/petal-liveview-and-lamp-eb5e9f81a804 – Bruce Tate post on PETAL stack https://www.lambdadays.org/lambdadays2021/thinking-elixir – ThinkingElixir podcast will record live at LambdaDays 2021 - Feb 16th Do you have some Elixir news to share? Tell us at @ThinkingElixir or email at show@thinkingelixir.com Discussion Resources https://allanmacgregor.com/posts/circuit-breaker-pattern-in-elixir https://siteguardian.dev https://www.humi.ca/ https://en.wikipedia.org/wiki/Flow-based_programming https://hex.pm/packages/flowex https://www.youtube.com/watch?v=BJVzwaTiOdk https://hex.pm/packages/ok https://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612/ https://bernheisel.com/blog/nostalgia-programming https://dashbit.co/ebooks/the-little-ecto-cookbook – The Little Ecto Cookbook https://microservices.io/ https://www.youtube.com/watch?v=z4p4e9Uwn6I Guest Information https://twitter.com/allanmacgregor – on Twitter https://github.com/amacgregor – on Github https://allanmacgregor.com – Blog Find us online Message the show - @ThinkingElixir Email the show - show@thinkingelixir.com Mark Ericksen - @brainlid David Bernheisel - @bernheisel Cade Ward - @cadebward

Om Podcasten

The Thinking Elixir podcast is a weekly show where we talk about the Elixir programming language and the community around it. We cover news and interview guests to learn more about projects and developments in the community. Whether you are already experienced with Elixir or just exploring the language, this show is created with you in mind. We discuss community news, Functional Programming, transitioning from OOP, coding conventions, and more. Guests visit the show to help challenge our assumptions, learn about new developments and grow in the process. Subscribe to join us on this journey!