Latest #supervisor Threads Top

beepboop
DynamicSupervisor traps exit signals and handles ones coming from its children: https://github.com/elixir-lang/elixir/blob/427d21e410d18...
New
smaximov
Greetings! Tonight we had an incident in production when a somewhat important GenServer process seemingly disappeared and had not been r...
New
s-stepien
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
volcov
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
caleb-bb
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
AwesomeHunter
I have a DynamicSupervisor that spawns multiple workers and provides them with a configuration. I want to be able to update this configur...
New
meraj_enigma
Hello, I have a supervision tree, where Application starts -> DynamicSupervisor -> Supervisor -> GenServer (worker). Once the ...
New
mudasobwa
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
manhvu
I try to make new supervisor for developer can easy to add & manage processes. For current supervisors, that is based on OTP & s...
New
bubiche
I have something like below in my application.ex children = [ {Goth, name: MyApp.Goth}, MyApp.SomeService, MyApp.Endpoint ] opts ...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

volcov
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
smaximov
Greetings! Tonight we had an incident in production when a somewhat important GenServer process seemingly disappeared and had not been r...
New
s-stepien
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
beepboop
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 Top

stefanchrobot
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
vrod
I am trying to understand more about best practices with Elixir and processes. I thought about a GenServer that would maybe sometimes cr...
New
christhekeele
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
dantswain
Hi! Does anyone have any recommendation on how to debug my application seemingly completely randomly shutting down? The only diagnostic...
New
szajbus
Pogo is a distributed supervisor for clustered Elixir applications. It uses battle-tested distributed named process groups (:pg) under t...
New
francois1
I want to share a Finch app among Umbrella apps. In foo_app: def start(_type, _args) do children = [ {Finch, name: MyAppSe...
New
chocolatedonut
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
aaronrenner
I am trying to figure out if there’s an established best practice for connecting child processes within the same supervisor without using...
New
ream88
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
erix
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
Darkoyd
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
manhtranlinh
Hi everyone, I implemented the example from this blog RPC over RabbitMQ (with Elixir) – Andrea Leopardi. My dev environment: Elixir 1....
New
easco
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
dli
Hey there, I am building a system that: streams data from an external HTTP API endpoint for multiple topics starts streaming processes...
New
distefam
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 Top

lessless
Hello, The module under test depends on three OTP process and thus they’re started in test setup callback: setup do accounts = Test...
New
adobroskok
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
codecakes
I have an app like stackdelivery ├── lib └── stackdelivery └── application.ex └── stackg...
New
lessless
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
Fl4m3Ph03n1x
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
francois
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
Oliver
I have an application with the following setup: There is a central supervisor which is initialized with a child spec at startup encompa...
New
AlanMcCann
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
thojanssens1
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
Fl4m3Ph03n1x
Background I am reading the “Functional Web Development with Elixir, OTP and Phoenix” book, and I finished a Supervisor that supervises G...
New
stuartc
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
thiagomajesk
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
pierreabreup
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
prateek1192
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
Aetherus
I noticed that Spervisor.Spec is deprecated. The question is, what’s the alternative for Supervisor.Spec.worker and Spuervisor.Spec.super...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement