Ciboulette

Ciboulette

Hello,

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

Thanks

First 7 of 7 Posts Switch mode

peerreynders

peerreynders

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.

zinclozenge

zinclozenge

I’d recommend The Little Elixir & OTP Guidebook The Little Elixir & OTP Guidebook - Benjamin Tan Wei Hao

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

peerreynders

peerreynders

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.

david_ex

david_ex

I’m in the process of writing a series of blog posts implementing a poolboy clone with Elixir 1.6 features (DynamicSupervisor and Registry): http://davidsulc.com/blog/2018/07/09/pooltoy-a-toy-process-pool-manager-in-elixir-1-6/

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

Ciboulette

Ciboulette OP

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

collegeimprovements

collegeimprovements

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

david_ex

david_ex

Having just got back from vacation, I looked into it and there’s an RSS feed available at http://davidsulc.com/blog/feed/

— All posts loaded —

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 91898 914
New
AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4616 55835 594
New
byu
@chrismccord : I just saw the Extract AGENTS.md from Phoenix.new into phx.new generator commit to the phoenix project. My initial shotgu...
New
arcanemachine
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New

We're in Beta

About us Mission Statement