Latest #supervisor Threads 
DynamicSupervisor traps exit signals and handles ones coming from its children:
https://github.com/elixir-lang/elixir/blob/427d21e410d18...
New
Greetings!
Tonight we had an incident in production when a somewhat important GenServer process seemingly disappeared and had not been r...
New
Hi
I have fairly complicated Phoenix app (but it doubt that this is Phoenix related issue?). In it I have the MyApp.Application module w...
New
Hello,
How is everyone?
I hope you’re well =)
I worked on a project with some legacy code that existed before Oban’s arrival. This leg...
New
So, I have a set of child processes under my start/2 callback, as you do:
@impl true
def start(_type, _args) do
children = [
...
New
I have a DynamicSupervisor that spawns multiple workers and provides them with a configuration. I want to be able to update this configur...
New
Hello,
I have a supervision tree, where Application starts -> DynamicSupervisor -> Supervisor -> GenServer (worker).
Once the ...
New
Since OTP 25.1 we have a process groups monitoring so I finally made an implementation of distributed Registry leveraging :pg and an [alm...
New
I try to make new supervisor for developer can easy to add & manage processes.
For current supervisors, that is based on OTP & s...
New
I have something like below in my application.ex
children = [
{Goth, name: MyApp.Goth},
MyApp.SomeService,
MyApp.Endpoint
]
opts ...
New
This Week's Trending
This Month's Trending
This Year's Trending
Hello,
How is everyone?
I hope you’re well =)
I worked on a project with some legacy code that existed before Oban’s arrival. This leg...
New
Greetings!
Tonight we had an incident in production when a somewhat important GenServer process seemingly disappeared and had not been r...
New
Hi
I have fairly complicated Phoenix app (but it doubt that this is Phoenix related issue?). In it I have the MyApp.Application module w...
New
DynamicSupervisor traps exit signals and handles ones coming from its children:
https://github.com/elixir-lang/elixir/blob/427d21e410d18...
New
Last Three Year's Trending
I need to:
do some asynchronous work concurrently
kill the work when the parent GenServer exits
be able to specify the timeout
do some ...
New
I am trying to understand more about best practices with Elixir and processes. I thought about a GenServer that would maybe sometimes cr...
New
I ran into a situation recently where it would be very useful to start up a DynamicSupervisor in an application’s sup tree, always with a...
New
Hi! Does anyone have any recommendation on how to debug my application seemingly completely randomly shutting down? The only diagnostic...
New
Pogo is a distributed supervisor for clustered Elixir applications.
It uses battle-tested distributed named process groups (:pg) under t...
New
I want to share a Finch app among Umbrella apps.
In foo_app:
def start(_type, _args) do
children = [
{Finch, name: MyAppSe...
New
Can you please provide an example of how and when is a module-based supervisor preferred (over starting a Supervisor via start_link/2)?
...
New
I am trying to figure out if there’s an established best practice for connecting child processes within the same supervisor without using...
New
Hello,
I have an Elixir app where a process depends on another process to be alive and send messages back. This second process is mainly...
New
I realize there are multiple topics with the same title, but the questions and answers in those threads either don’t make sense to me or ...
New
Hello everyone,
I am fairly new to Elixir and so far I’ve had a blast.
As part of an academic assignment I’ve been tasked with implemen...
New
Hi everyone,
I implemented the example from this blog RPC over RabbitMQ (with Elixir) – Andrea Leopardi.
My dev environment:
Elixir 1....
New
I have a process, using gen_statem, which was crashing (and being restarted by a supervisor) because of an unhandled exception.
When I f...
New
Hey there,
I am building a system that:
streams data from an external HTTP API endpoint for multiple topics
starts streaming processes...
New
I am extending an existing application to allow users to be able to write and send newsletters and struggling with determining a proper s...
New
Trending Over Three Years
Hello,
The module under test depends on three OTP process and thus they’re started in test setup callback:
setup do
accounts = Test...
New
I need help with seem to be a trivial task. My application root is Supervisor and it starts couple of GenServer based workers. I am tryin...
New
I have an app like
stackdelivery
├── lib
└── stackdelivery
└── application.ex
└── stackg...
New
Hello,
In our app, we have to start dynamic amount of workers and we can’t just define them as a part of supervision tree in the applica...
New
Background
I have an app that must never go down, under any circumstances. This app has a supervisor that has a ton of workers. These wor...
New
Hi!
I read Supervisor.Spec – Elixir v1.4.2 multiple times, but I still don’t understand what’s different between a worker and a supervis...
New
I have an application with the following setup:
There is a central supervisor which is initialized with a child spec at startup encompa...
New
I’m having trouble getting Supervisor.start_child to work and I get the following error when running these commands (the supervisor is st...
New
Hello,
I want to start a module (MyApp.MyAgent) using Agent that will fetch some data from DB (and thus use MyApp.Repo) and keep it in m...
New
Background
I am reading the “Functional Web Development with Elixir, OTP and Phoenix” book, and I finished a Supervisor that supervises G...
New
I have a GenServer that manages a varying set of interval timers.
By default, when you start it - the list is empty; and you add timers ...
New
Hi! I’ve been diving deeper into Elixir recently and reading through some of the guides and docs about Processes and Supervisors. After r...
New
I’m trying to use worker in my Phoenix application but I’m getting the error: undefined function worker/2. I get this error when I up ph...
New
I am trying to take an input from the user and then creating the number of genservers as input and Supervise them. My code is something l...
New
I noticed that Spervisor.Spec is deprecated. The question is, what’s the alternative for Supervisor.Spec.worker and Spuervisor.Spec.super...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
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
- #javascript
- #podcasts
- #code-sync
- #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








