zacksiri
Hey Everyone
We recently released a free episode and 4 member’s exclusive episode in our Elixir Foundation series. In this episode I talk about when / why you should use Agents. Let us know your thoughts!
Trending in Screencasts
Sooner or later you’ll need to run a one-off or recurring task on a deployed app, and if you deploy with releases the usual answer, a Mix...
New
Plotto is a 100% Elixir charting library with no NIFs or external dependencies. In this episode, we’ll use it to add interactive SVG char...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex











Showing Posts 1 to 4- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
Fl4m3Ph03n1x
Elixir Foundation?
To me this is rather interesting. Is it an open foundation, meaning, can I join if I want to?
Also, you mention this one is free. I didn’t have trouble but I assume some episodes will be locked behind a paywall, right?
Why use Agents?
Because they give you an additional level of abstraction… Why use airplanes? Because they give you a different means to perform geospatial traveling within a shorter frame on the time axis of the 4D chart reality exists on.
Did you get it? No? Neither did anyone else learning Elixir.
From what I understand you explain Agents before finishing all of GenServer’s features. IMHO, this was a mistake. If I don’t fully understand GenServer, I cannot value what Agent brings to the table.
Don’t take me wrong, I am one of the guys who thinks there are reasons to use Agents, namely:
You may prefer the lower level approach via GenServer, and that’s fine, but these benefits hold value as well. I didn’t see you explaining them, instead you jumped right into Get and update.
But for me, what the video really lacks is an answer to the following question…
Why shoulnd’t I use Agent?
Someone who watches this single video will believe Agents replace GenServers. Such is not true. Agents lacks some of the capabilities GenServers have and this is a major factor people consider when they tell you they just use GenServer and don’t bother with Agents.
My evil opinion
You may have had the impression from my second paragraph I didn’t like your work. This is not true - I am by default a hard critic and I apologize if I hurt you. People in this community are not like me, so don’t be afraid
Truth is I like quite liked the video:
Videos like this take a lot of work I know for a fact. I just think the topic on Agents could have taken another approach.
Hope you guys keep on doing this great work!
AstonJ
A foundation course usually tackles the basics of something (in preparation for advanced books/courses)
If you need to say something like that then, generally speaking, it’s a good indication that your thoughts could have been articulated in a more amicable, constructive or acceptable manner.
Please remember that people creating educational content (as well as those making libraries, languages and frameworks) put a lot of time and effort into what they do, and so feedback is generally best provided as kindly as possible.
This part of your post in particular is concerning:
There’s no need to be a ‘hard’ critic. Please just be a ‘nice’ one. Thanks!
zacksiri
Thx for the feedback however this is one episode in a series. It is meant to provide value on its own but also is supposed to be a continued in the next episode.
In the project I actually use GenServer with Agents so actually if you watch the entire series you will see there is use case for both. I also did mention in the video if you are only storing state Agents means writing less code, and GenServer is more for doing all kinds of other things like rendering a webpage which is displayed in the project.
Thank you for taking the time to watch the video.
zacksiri
Thank you for your work on this forum, it’s become a great place for the elixir community. I’m currently working on more elixir content once my site / content is more ready I looking forward to becoming a sponsor of elixir forum.