Latest #genserver Threads 
A long-running GenServer holds orders, positions, strategy state, and operational flags for a system trading real capital. The post walks...
New
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
A long-running GenServer holds orders, positions, strategy state, and operational flags for a system trading real capital. The post walks...
New
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 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
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
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
DGen - A distributed GenServer
I love GenServer. There are only 2 things stopping me from writing an entire app with them:
Durability: ...
New
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
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
This Month's Trending
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
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
Here’s a preview:
Here’s the link to download:
GenServer cheatsheet
Tell me what you think!
New
DGen - A distributed GenServer
I love GenServer. There are only 2 things stopping me from writing an entire app with them:
Durability: ...
New
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
A long-running GenServer holds orders, positions, strategy state, and operational flags for a system trading real capital. The post walks...
New
Hey,
I need help to find a scalable and efficient solution to:
Store large number of elements (username)
Table is not static => ele...
New
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
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
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
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
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
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
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 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
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
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
During my recent query with regard to “Functional Web Development with Elixir, OTP, and Phoenix”, Lance Halvorson kindly directed my atte...
New
When using simple processes we can spawn a recursive loop with a timeout like this:
iex> receive do
...> {:hello, msg} -> ...
New
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
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
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
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
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
:snake: :test_tube: Venomous aims to simplify the concurrent use of erlport Python Ports, focusing on dynamic extensibility such as spawn...
New
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
I’m building a Phoenix server that handles financial transactions, It’s very simple it creates an account, creates a user, and processes ...
New
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
This question might dive into sub-areas, so I would like to clarify as much as possible.
Application:
The application has multiple gens...
New
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
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
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
I have a gen server spawned by simple one for one supervisor, and when I return {:stop, {:shutdown, reason}, state} process remains alive...
New
Hey all, I’m new to elixir and getting the following error:
** (FunctionClauseError) no function clause matching in TSS.DriverStatuses.l...
New
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
Hey everyone,
this has been brewing in my head some time and it came up again while reading Adopting Elixir.
GenServers, supervisors et...
New
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
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
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
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
Hello,
The module under test depends on three OTP process and thus they're started in test setup callback:
setup do
accounts = Te...
New
How can I register and call global process in a cluster using the new Registry api https://hexdocs.pm/elixir/Registry.html
New
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
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
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
Out of curiosity I started to learn how to gracefully shutdown an Elixir application, but I have some trouble understanding the behavior ...
New
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
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







