Ciboulette

Ciboulette

Good Example of Elixir OTP application

Hello,

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

Thanks

Most Liked

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

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.

Last Post!

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/

Where Next?

Popular in Discussions Top

New
AlexMcConnell
The reason that Rails is as popular as it is is because it’s very easy for relatively inexperienced developers to get a lot of work done....
588 20046 166
New
AstonJ
If a newbie asked you about Phoenix Contexts, how would you explain the basics to them? Feel free to be as concise or in-depth as you li...
New
chuck
Let me start by stating an assumption: Phoenix is a great approach to building REST APIs. There are many reasons for this, but I will ass...
New
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New
owaisqayum
I have a sample string sentence = "Hello, world ... 123 *** ^%&*())^% %%:>" From this string, I want to only keep the integers, ...
New
fireproofsocks
I’ve been working on an Elixir project that has required a lot of scripting. I usually reach for Elixir because I like it more (and in th...
New

Other popular topics Top

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36654 110
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 42533 114
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

We're in Beta

About us Mission Statement