Good Example of Elixir OTP application


Are there any good concrete example of Elixir OTP applications that show complex supervision trees, registry, restart strategy etc ?



You’ll probably have to “mine” that information from a number of sources. Recently I came across Fred Hebert - The Hitchhiker’s Guide to the Unexpected - Code BEAM SF 2018 (or ElixirDaze 2018) and The Zen Of Erlang (article) which discusses some aspects at the high level.


I’d recommend The Little Elixir & OTP Guidebook

It might not be exactly what you’re looking for, but should get you started.

1 Like

The largest example from Designing for Scalability with Erlang/OTP: Implement Robust, Fault-Tolerant Systems is the Base Station Controller sample application (in Erlang).

The Little Elixir & OTP Guidebook’s Pooly can be found here.

The Elixir in Action 2e Todo Web Server can be found here.

1 Like

I’m in the process of writing a series of blog posts implementing a poolboy clone with Elixir 1.6 features (DynamicSupervisor and Registry):

It’s not very far along at this time, but maybe it could still be helpful for you. The links in the intro post might be of use to you too.

Regarding thinking about supervision trees, I would recommend reading the 2 following blog posts: The Zen of Erlang and The Hitchhiker’s Guide to the Unexpected as suggested by @peerreynders


Thanks a lot for your blog. You clearly should continue this series !! It will definitely help people a lot :muscle:

1 Like

Hi, Thanks for your series. Can you add RSS feed to your blog ? It would be easier to keep updated that way.

Having just got back from vacation, I looked into it and there’s an RSS feed available at

1 Like