Latest #genserver Threads Top

apoorv-2204
The Issue of Enums in Elixir Elixir doesn’t have a native enum construct, so we usually rely on atoms, strings, or macros to represent na...
New
achenet
Hello :slight_smile: I’m struggling to get GenServer working with Bandit. I’d like to build a simple chat server, with a POST / endpoin...
New
alexisruccius
I recently ran into a tricky error while testing a GenServer that uses a mock in its init/1. Maybe this helps others, or maybe someone h...
New
tommasoamici
I’ve got an annoying problem on my hands. I’m open to a different approach as well. I’m writing a GenServer to store a live auction, whe...
New
jaybe78
Hey, I need help to find a scalable and efficient solution to: Store large number of elements (username) Table is not static => ele...
New
James_E
I have an app that has many users connecting to it. When each user tries to connect to a room, they should be connected to a “MyApp.Room...
New
Hermanverschooten
Hi, This has probably been asked a gazilion times… Is there a reilable way to trap the stop of a GenServer in development, that means w...
New
SamiD
Hello, I am completely new to elixir and found this code in a blog post: defmodule OurNewApp.Counter do use GenServer require Logge...
New
wildfalcon
I am writing an ex_unit test for a context function create_requirement/1. The challenge I’m facing is that create_requirements/1 sends a ...
New
meraj_enigma
Hello, I have a supervision tree, where Application starts -> DynamicSupervisor -> Supervisor -> GenServer (worker). Once the ...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

bentanweihao
Here’s a preview: Here’s the link to download: GenServer cheatsheet Tell me what you think!
New
jaybe78
Hey, I need help to find a scalable and efficient solution to: Store large number of elements (username) Table is not static => ele...
New
apoorv-2204
The Issue of Enums in Elixir Elixir doesn’t have a native enum construct, so we usually rely on atoms, strings, or macros to represent na...
New
tommasoamici
I’ve got an annoying problem on my hands. I’m open to a different approach as well. I’m writing a GenServer to store a live auction, whe...
New
achenet
Hello :slight_smile: I’m struggling to get GenServer working with Bandit. I’d like to build a simple chat server, with a POST / endpoin...
New
alexisruccius
I recently ran into a tricky error while testing a GenServer that uses a mock in its init/1. Maybe this helps others, or maybe someone h...
New

Last Three Year's Trending Top

peerreynders
During my recent query with regard to “Functional Web Development with Elixir, OTP, and Phoenix”, Lance Halvorson kindly directed my atte...
New
homanchou
When using simple processes we can spawn a recursive loop with a timeout like this: iex> receive do ...> {:hello, msg} -> ...
New
vrod
I am wondering for advice on how to monitor an application with many genservers doing long-running work. Often we want to know “how many...
New
fireproofsocks
I’ve got a simple app that starts up a supervised Broadway pipeline. This is fine for regular use, but it makes testing difficult: de...
New
mickel8
GenServer.call might fail when a process we try to execute a call on no longer exists. Are there any guidelines on how to handle such sit...
New
with
Hi, I have a worker GenServer posting some results to its manager GenServer. The result is rather long and may contain hundreds of items...
New
_jonas
Hey I’ve got a quick beginner question: I’m making requests to an external API using Finch. The API is rate limited, and when the limit...
New
RustySnek
:snake: :test_tube: Venomous aims to simplify the concurrent use of erlport Python Ports, focusing on dynamic extensibility such as spawn...
New
elbasti
I have a genserver that wants to spawn multiple tasks (in this case multiple api calls to different services) and wait for all of them to...
New
ashton314
Howdy! I’m a researcher trying to understand better how people use Elixir. I have a fair amount of personal experience with Elixir, but I...
New
AndyL
I’ve got a Genserver that writes messages to stdout. I can’t figure out how to test using capture_io. Documentation says By default, ca...
New
stackcats
900. RLE Iterator The problem needs to keep track of the encoding list So I used GenServer to solve this This is the first version of ...
New
Hisako1337
Good morning fellow alchemists! I have a question about quite a low level implementation topic regarding copy/concurrency semantics, let...
New
teqr
This question might dive into sub-areas, so I would like to clarify as much as possible. Application: The application has multiple gens...
New
Nezteb
Earlier today, Code Sync posted the recording of @mhanberg’s Code BEAM America 2022 talk: “OTP Process Abstractions with :proc_lib” I en...
New

Trending Over Three Years Top

sysashi
I have a gen server spawned by simple one for one supervisor, and when I return {:stop, {:shutdown, reason}, state} process remains alive...
New
pdilyard
I'm deep into debugging a very high memory usage problem in a group of GenServers. There are two types of GenServer implementations I'm...
New
Qqwy
I am working on a simple introduction talk to OTP. One of the things I myself am wondering about, however, is when Agent is useful and wh...
New
jswny
I've condensed the problem I found while playing around with GenServers (I don't know much about OTP yet) into the following script: de...
New
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
mrkaspa
How can I register and call global process in a cluster using the new Registry api https://hexdocs.pm/elixir/Registry.html
New
sheharyarn
I writing an Elixir app with GenServer that starts an external application on boot and shuts it down and does other clean-up on exit. I'v...
New
zakora
Out of curiosity I started to learn how to gracefully shutdown an Elixir application, but I have some trouble understanding the behavior ...
New
larshei
I am currently scratching my head, because I am already trapping exits at one point, but I am not able to get it to work at another point...
New
mjadczak
I'm building an app which provides a read-only GraphQL API to a React frontend. The app stores details of many after-school programs in a...
New
kaa.python
My Genserver terminates after a little while, after sending a few http requests. I can't understand the reason: [error] GenServer MyGen...
New
samphilipd
I’m building a postgres-backed job queue for Elixir. The way I have it setup, I have a JobDispatcher that polls the DB every N millisecon...
New
manju16832003
Have been using Elixir / Phoenix for a while but still I get confused with the role of GenServer and its use cases. Would love to know ab...
New
abhay831
I am trying to show post to the first friend of a person first and other’s after making a delay of 1 mins,For that i am using genserver. ...
New
mariosangiorgio
Hello, I was reading the Elixir School page on GenServer and I see that in the examples they use __MODULE__ as the name. For instance: ...
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