Re:Elixir: Practical Concurrency Cookbook
by manusachi on Saturday July 24, 2021 @04:13AM
(#27939209)
> One of the strengths of GenServers is that they allow us to spin one up per user very easily, so they don't become a bottleneck where the Agent does.
Agent is a special case of GenServer[1]. With the same luck we could spin up an agent per user.
Agent is a special case of GenServer[1]. With the same luck we could spin up an agent per user.
[1] [Agent.start_link/2](https://github.com/elixir-lang/elixir/blob/9137fd1cb2368bb1b...)