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 (http://podcast.thinkingelixir.com/32)
Elixir Community News
- https://elixir-lang.org/blog/2021/01/13/orchestrating-computer-vision-with-elixir/ (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 (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 (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 (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 (https://hex.pm/blog/hex-v0.21-released) – Hex 0.21 released. Adds registry self-hosting and more!
- https://hex.pm/docs/self_hosting (https://hex.pm/docs/self_hosting) – Documentation on self-hosting Hex
- https://twitter.com/josevalim/status/1350004900973981699 (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 (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/ (https://thinkingelixir.com/petal-stack-in-elixir/) – ThinkingElixir post on PETAL stack
- https://changelog.com/posts/petal-the-end-to-end-web-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 (https://redrapids.medium.com/petal-liveview-and-lamp-eb5e9f81a804) – Bruce Tate post on PETAL stack
- https://www.lambdadays.org/lambdadays2021/thinking-elixir (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 (https://twitter.com/ThinkingElixir) or email at [email protected] (mailto:[email protected])
Discussion Resources
- https://allanmacgregor.com/posts/circuit-breaker-pattern-in-elixir (https://allanmacgregor.com/posts/circuit-breaker-pattern-in-elixir)
- https://siteguardian.dev (https://siteguardian.dev)
- https://www.humi.ca/ (https://www.humi.ca/)
- https://en.wikipedia.org/wiki/Flow-based_programming (https://en.wikipedia.org/wiki/Flow-based_programming)
- https://hex.pm/packages/flowex (https://hex.pm/packages/flowex)
- https://www.youtube.com/watch?v=BJVzwaTiOdk (https://www.youtube.com/watch?v=BJVzwaTiOdk)
- https://hex.pm/packages/ok (https://hex.pm/packages/ok)
- https://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612/ (https://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612/)
- https://bernheisel.com/blog/nostalgia-programming (https://bernheisel.com/blog/nostalgia-programming)
- https://dashbit.co/ebooks/the-little-ecto-cookbook (https://dashbit.co/ebooks/the-little-ecto-cookbook) – The Little Ecto Cookbook
- https://microservices.io/ (https://microservices.io/)
- https://www.youtube.com/watch?v=z4p4e9Uwn6I (https://www.youtube.com/watch?v=z4p4e9Uwn6I)
Guest Information
- https://twitter.com/allanmacgregor (https://twitter.com/allanmacgregor) – on Twitter
- https://github.com/amacgregor (https://github.com/amacgregor) – on Github
- https://allanmacgregor.com (https://allanmacgregor.com) – Blog
Find us online
- Message the show - @ThinkingElixir (https://twitter.com/ThinkingElixir)
- Email the show - [email protected] (mailto:[email protected])
- Mark Ericksen - @brainlid (https://twitter.com/brainlid)
- David Bernheisel - @bernheisel (https://twitter.com/bernheisel)
- Cade Ward - @cadebward (https://twitter.com/cadebward)

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 [email protected]

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 - [email protected]
Mark Ericksen - @brainlid
David Bernheisel - @bernheisel
Cade Ward - @cadebward

Twitter Mentions