Latest #registry Threads 
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
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
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
I have a :gen_statem implementation that I want to start via a registry like this:
defmodule Arca.PodImpl do
@moduledoc false
@beha...
New
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
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
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
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
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
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
This Month's Trending
This Year's Trending
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
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
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
Background
I have a Phoenix LiveView App inside an umbrella project which is basically a HelloWorld project.
In This Phoenix App is spec...
New
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
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
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
I was writing a GenServer and quickly discovered the need to generate tasks within this GenServer. This GenServer can not have a globally...
New
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
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
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
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
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
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
Passing arguments around is sometimes a pain while working with Elixir. However, for Web apps, since each request runs in its own process...
New
Hello everyone,
I would like to propose the addition of the Registry project to Elixir:
https://github.com/elixir-lang/registry
The...
New
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
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
Hello. I want to use Registry module to register dynamically created children processes. So I added registry into my supervisor tree:
...
New
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
Hi everyone, in an effort to understand GenServers and Registry, I put together a small URL shortener service, without a database. Each “...
New
Hello,
Are there any good concrete example of Elixir OTP applications that show complex supervision trees, registry, restart strategy et...
New
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
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
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
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
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
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
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
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
- #exunit
- #elixirconf
- #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
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







