david_ex

david_ex

Learning about processes & supervision with DynamicSupervisor and Registry

I’m in the process of writing a tutorial/guide/blog series implementing a poolboy clone using Elixir 1.6’s DynamicSupervisor (and Registry, although that part hasn’t been written yet).

I didn’t really find any resources on this subject using these tools, so I figured I’d write one in the hopes the Elixir community will find it useful. It’s aimed towards newer members of the Elixir community, but that are already reasonably familiar with the language and concepts (gen servers, etc.).

The table of contents for the series can be found at http://davidsulc.com/blog/2018/07/09/pooltoy-a-toy-process-pool-manager-in-elixir-1-6/ and the accompanying code is at GitHub - davidsulc/pool_toy: A toy worker pool implementation aiming to teach about process supervision trees · GitHub. Bear in mind the state of the code matches the state of the blog series: it’s a work in progress and isn’t finished (e.g. certain issues in the code will be explained and fixed in upcoming posts).

Whether you’re a beginner or a more advanced practicioner, your feedback is more than welcome.

Where Next?

Trending in Guides/Tuts Top

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
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
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
akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New

We're in Beta

About us Mission Statement