Latest #registry Threads Top

martosaur
Creating a process that maintains a state and makes it available for other processes is one of the most common use cases for GenServer. A...
New
SebAlbert
The Registry module can hold additional data per process / GenServer. Is it a good idea to use this for (micro-)batching the “save state ...
New
Pistrie
I’m doing some experimentation, and I ran into an issue with my Registry setup. I have an event where I start some doomed tasks: def ha...
New
JasterV
I have a :gen_statem implementation that I want to start via a registry like this: defmodule Arca.PodImpl do @moduledoc false @beha...
New
fireproofsocks
I find it surprising that :via is not supported for duplicate registries. If you can’t register a pool of processes under the same name ...
New
stevensonmt
I am trying to grow my skills a bit and exploring the Registry module. I have a custom registry set up as follows: defmodule MyReg do ...
New
jwsinner
From what I can gather, Registry is a way to localize keys to make using OTP stuff a bit easier. This is especially important when you wa...
New
TwistingTwists
Taking code from livebook here: It tries to do a Registry.lookup for see if the task has been registered in the registry. So, the {:e...
New
fireproofsocks
I’m working with a custom registry and I’ve noticed that it doesn’t seem to like GenServers. Whereas I can start up an Agent using the s...
New
fireproofsocks
I’ve been digging more into the Registry module and I’m working on the Registry.select/2 function in particular. To re-state the docs, t...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

martosaur
Creating a process that maintains a state and makes it available for other processes is one of the most common use cases for GenServer. A...
New
SebAlbert
The Registry module can hold additional data per process / GenServer. Is it a good idea to use this for (micro-)batching the “save state ...
New

Last Three Year's Trending Top

fireproofsocks
I’m starting to build more complex apps and I’m slowly reaching for the built-in Registry module. I’ve been reading GenServer — Elixir v...
New
Fl4m3Ph03n1x
Background I have a Phoenix LiveView App inside an umbrella project which is basically a HelloWorld project. In This Phoenix App is spec...
New
pottu
Currently, I register a GenServer process with a unique name in a local register when invoking a start_link/1 function part of it’s API a...
New
jwsinner
From what I can gather, Registry is a way to localize keys to make using OTP stuff a bit easier. This is especially important when you wa...
New
fireproofsocks
I’ve been digging more into the Registry module and I’m working on the Registry.select/2 function in particular. To re-state the docs, t...
New
ollien
I was writing a GenServer and quickly discovered the need to generate tasks within this GenServer. This GenServer can not have a globally...
New
TwistingTwists
Taking code from livebook here: It tries to do a Registry.lookup for see if the task has been registered in the registry. So, the {:e...
New
fireproofsocks
I’m working with a custom registry and I’ve noticed that it doesn’t seem to like GenServers. Whereas I can start up an Agent using the s...
New
stevensonmt
I am trying to grow my skills a bit and exploring the Registry module. I have a custom registry set up as follows: defmodule MyReg do ...
New
fireproofsocks
I find it surprising that :via is not supported for duplicate registries. If you can’t register a pool of processes under the same name ...
New
Pistrie
I’m doing some experimentation, and I ran into an issue with my Registry setup. I have an event where I start some doomed tasks: def ha...
New
JasterV
I have a :gen_statem implementation that I want to start via a registry like this: defmodule Arca.PodImpl do @moduledoc false @beha...
New

Trending Over Three Years Top

minhajuddin
Passing arguments around is sometimes a pain while working with Elixir. However, for Web apps, since each request runs in its own process...
New
josevalim
Hello everyone, I would like to propose the addition of the Registry project to Elixir: https://github.com/elixir-lang/registry The...
New
mindreader
I am writing an application that uses pub sub between various processes quite heavily. I wrote it at first with the local Registry in el...
New
idi527
Is there a way to list all the processes registered in Registry [0] with the help of via tuple? There is a way to look up the pid for a g...
New
dsnipe
Hello. I want to use Registry module to register dynamically created children processes. So I added registry into my supervisor tree: ...
New
tadasajon
In my lib/myapp/application.ex file I set up a Registry and I give it the name :myapp_registry: def start(_type, _args) do childre...
New
bdubaut
Hi everyone, in an effort to understand GenServers and Registry, I put together a small URL shortener service, without a database. Each “...
New
Ciboulette
Hello, Are there any good concrete example of Elixir OTP applications that show complex supervision trees, registry, restart strategy et...
New
lalo2302
Hi guys! I am facing a problem where I need to spawn multiple processes, and I have to keep a counter about every process. The counter n...
New
Ciboulette
Hello, I am writing a fault tolerant application in Elixir, so I kill every process to check the way they handle restarting etc. I start...
New
deerob4
I’m creating a game system, which includes a lobby and a countdown timer. Once enough players have joined, the countdown timer begins and...
New
darkmarmot
I have many actor processes in my application with event counts associated with each actor. I’d like to have a live sum of the total act...
New
sezaru
Hello, A part of my application currently have a supervisor hierarchy that looks something like this: As you can see, I have a Manage...
New
Fl4m3Ph03n1x
Background After reading Elixir in Action I came with a (slightly modified for my evil purposes) module that I very originally call the P...
New
darkmarmot
I would find it quite useful to be able to get a callback when Registry removes a {pid, value} on process death (even if this is deferred...
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