This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
Hi! I was wondering what patterns people have used for the following scenario.
When the page first loads, spawn some (potentially long...
New
I have code to do bulk insert which looks like this:
stream = build_attrs_stream()
Repo.transaction(fn ->
stream
|> Stream.ch...
New
Hi y’all -
I’m working on using Rustler to create Elixir bindings for this extremely nifty embedded multimodal AI / vector database Lanc...
New
I am using the Sage library to perform a set of operations involving DB inserts and calling external APIs. The Sage.transaction uses Ecto...
New
Hi,
I am using Async Operations for nested data loading.
I am getting this issue.
[error] GenServer #PID<0.1134.0> terminating
*...
New
Hi all
Context
I am learning Elixir, Phoenix and LiveView by making a hobby project on yet another ChatGPT wrapper. I’ve got to a point...
New
Hi,
Is there a way to preload %AsyncResult{}? My UI is a chat widget where the messages are an array of messages wrapped inside AsyncRes...
New
I saw the pattern of using Task.async inside a Liveview handler in this elixirconf talk https://youtu.be/TfZI5-oQSqI?si=KFsY-0Ne-HK99AHj ...
New
The update_many/1 callback let’s you make your update call more efficient by handing all update calls from the same component type all at...
New
Hi there. I need to redirect the user from one LiveView to another after they click a button, but also do some work in the background. I ...
New
Hello there,
I inherited a rather complicated LiveComponent from a colleague: due to complex JS there’s no render/1 function, only updat...
New
Trending Over Three Years
Hello, I am working on an task, that requires to parse a csv sent from a react frontend. When the backend receives it, it should make an ...
New
Hello, again folks!
I’ve been challenged by a problem this week and I’m not quite sure how to proceed to solve it. Also, I’ve spent a go...
New
I seem to be having an issue making some code asynchronous. I’m running
stream = Task.Supervisor.async_stream_nolink(
Module....
New
I’m currently playing around with GenServers and for a totally unrealistic, but still interesting problem, I wondered whether there is a ...
New
I have a large amount of user data that I want to run some expensive analysis on every time the user makes a change. Obviously I don’t wa...
New
Background
I’m working on a Discord bot in Elixir that runs as two separate applications, the bot itself, and all the backend logic and d...
New
All is in the title, but to clarify:
It seems that if Task.yield returns {:ok, value} it means that the task result message was receive...
New
I have something similar to the following code:
genserver_name = "cool_name"
task = Task.async(fn -> MyModule.start() end)
...
New
Hi all!
I’m starting my first project with Elixir and Phoenix. I have a function in a context that creates a record and fires some async...
New
Hi Everyone,
I have controller that takes request with a CSV file & email_id in the parameter.
What is does each read through each ...
New
During a database transaction, we are spawning a Task. The Task ends up querying the database itself, which leads to a race condition: th...
New
I am currently stuck with an implementation of a function that has to poll the Telegram API periodically and wait for a response from thi...
New
I’m running batches of short-lived fire and forget tasks (I sometimes receive feedback from them).
I can kill the tasks from within them...
New
I’ve been using the Task and Task.Supervisor utilities, but haven’t found the best way to handle creating a non-blocking, unlinked async ...
New
I am using Task.async to move a task in background. It is working fine in my local.
But when the code is deployed to azure environment i...
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
- #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







