#032 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 – https://thinkingelixir.com/podcast-episodes/032-circuit-breaker-and-elixir-patterns-with-allan-macgregor
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 know some Elixir news we don’t? Tell us at @ThinkingElixir
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
- Mark Ericksen – @brainlid
- David Bernheisel – @bernheisel
- Cade Ward – Github
Podcast: Download