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.
Popular in Guides/Tuts
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








