Latest #genserver Threads Top

ryanrborn
A long-running GenServer holds orders, positions, strategy state, and operational flags for a system trading real capital. The post walks...
New
ryanrborn
A look at five separate data flows inside a GenServer-per-session system and the design rules that fall out of each one: persist only wha...
New
ryanrborn
A long-running GenServer holds orders, positions, strategy state, and operational flags for a system trading real capital. The post walks...
New
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
water
The genserver is only needed when a specific page is opened, and shouldn’t exist when none is on that page. But adding it to application...
New
water
This code let’s me connect with a 2d camera. I’m running Linux and I can read the messages from the TCP server on the camera. But it ne...
New
striking
I’ve been building AI agents in Elixir for a while and kept running into the same frustration, every framework either locks you into one ...
New
jstimps
DGen - A distributed GenServer I love GenServer. There are only 2 things stopping me from writing an entire app with them: Durability: ...
New
Alex66
Running an FBP pipeline where each node is a GenServer. Need to move a segment of the running pipeline (multiple connected nodes) from on...
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

This Week's Trending Top

This Month's Trending Top

ryanrborn
A look at five separate data flows inside a GenServer-per-session system and the design rules that fall out of each one: persist only wha...
New
ryanrborn
A long-running GenServer holds orders, positions, strategy state, and operational flags for a system trading real capital. The post walks...
New

This Year's Trending Top

bentanweihao
Here’s a preview: Here’s the link to download: GenServer cheatsheet Tell me what you think!
New
jstimps
DGen - A distributed GenServer I love GenServer. There are only 2 things stopping me from writing an entire app with them: Durability: ...
New
striking
I’ve been building AI agents in Elixir for a while and kept running into the same frustration, every framework either locks you into one ...
New
ryanrborn
A long-running GenServer holds orders, positions, strategy state, and operational flags for a system trading real capital. The post walks...
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
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
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
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
thoughtarray
I’ve ran into several situations where LiveView and gen_statem being combined would be ideal. The simplest example would be any kind of c...
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
water
This code let’s me connect with a 2d camera. I’m running Linux and I can read the messages from the TCP server on the camera. But it ne...
New
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
water
The genserver is only needed when a specific page is opened, and shouldn’t exist when none is on that page. But adding it to application...
New
Alex66
Running an FBP pipeline where each node is a GenServer. Need to move a segment of the running pipeline (multiple connected nodes) from on...
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

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
_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
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
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
thiagopmac
I’m building a Phoenix server that handles financial transactions, It’s very simple it creates an account, creates a user, and processes ...
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
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
jdellitt
We have a LiveView that presents a form and collects some sensitive information from the currently logged in user and sends it out to an ...
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
Hisako1337
Good morning fellow alchemists! I have a question about quite a low level implementation topic regarding copy/concurrency semantics, let...
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
learning123
Hey all, I’m new to elixir and getting the following error: ** (FunctionClauseError) no function clause matching in TSS.DriverStatuses.l...
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
PragTob
Hey everyone, this has been brewing in my head some time and it came up again while reading Adopting Elixir. GenServers, supervisors et...
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
arpan
Hello everyone :wave: Today I am very excited to announce a project that I have been working on for almost 3 months now. The project is...
New
jlevy
Hi All, I just watched @lance's talk from ElixirConfEU and I want to talk about it [:smile:] Lance discusses the idea of putting all ...
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
cdegroot
I’m a bit over halfway through the course, and so far I really like it, especially the very logical order of moving up from basic code th...
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
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
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement