This Week's Trending
This Month's Trending
This Year's Trending
Hey,
I need help to find a scalable and efficient solution to:
Store large number of elements (username)
Table is not static => ele...
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’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
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
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
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
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
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
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
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
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
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
Good morning fellow alchemists!
I have a question about quite a low level implementation topic regarding copy/concurrency semantics, let...
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
Earlier today, Code Sync posted the recording of @mhanberg’s Code BEAM America 2022 talk: “OTP Process Abstractions with :proc_lib”
I en...
New
I have a worker process that lives for some time and contains some state. Worker processes can be spawned from multiple processes, so the...
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
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
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
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 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 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'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
My Genserver terminates after a little while, after sending a few http requests. I can't understand the reason:
[error] GenServer MyGen...
New
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
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
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
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
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:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #ash-questions
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #discussion
- #javascript
- #elixirconf
- #library
- #oban-questions
- #dialyzer
- #docker
- #onsite
- #authentication
- #podcasts
- #full-time-contract
- #umbrella
- #code-sync
- #ecto-query
- #phoenix_html
- #iex
- #graphql
- #genstage
- #elixir-ls
- #nerves-questions
- #podcasts-by-brainlid
- #supervisor
- #websockets
- #distillery
- #advent-of-code
- #blog-post
- #livebook-questions
- #processes
- #forms
- #api
- #metaprogramming







