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

PragTob
Hey everyone, this has been on my mind for some time and I’d love your input on it! TLDR: I feel like maps are superioer for storing and...
New
joeerl
I’m playing with Elixir - It’s fun. I think @rvirding does give Elixir courses these days. Re: files and database - when I given Erlang ...
New
MarioFlach
Hello, I want to share a project I’ve been working on for a while: https://github.com/almightycouch/gitgud Background Some time ago I ...
New
wmnnd
The Go vs Elixir thread got me thinking: Would it be too hard to implement a simple mechanism for creating Go-style static app binaries f...
New
tmbb
This is a post to discuss the new Phoenix LiveView functionality. From Chris’s talk, it appears that they generate all HTML on the serve...
342 18584 126
New
slashdotdash
Phoenix Live View is now publicly available on GitHub. Here’s Chris McCord’s tweet announcing making it public.
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New

Other popular topics Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
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

We're in Beta

About us Mission Statement