Latest #supervisor Threads Top

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
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
nhpip
So the other day I was rearranging the supervisor hierarchy of our product and I had a thought. In addition to creating a child spec with...
New
riccardomanfrin
Hi buddies, in my project I was using Supervisor to start and terminate+delete children dynamically. Elixir complained I should be using...
New
fireproofsocks
I’m starting to get deeper into the subtleties of supervisors and I could use some help understanding how and when to restart failed task...
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

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
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
riccardomanfrin
Hi buddies, in my project I was using Supervisor to start and terminate+delete children dynamically. Elixir complained I should be using...
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 = Te...
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 └── stack...
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 applic...
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 https://hexdocs.pm/elixir/1.4.2/Supervisor.Spec.html#supervisor/3 multiple times, but I still don't understand what's differ...
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 i...
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
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
Phillipp
Hey, I got a module based DynamicSupervisor: defmodule MyApp.ExampleSupervisor do use DynamicSupervisor def start_link(name) do ...
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