Hacker News new | ask | show | jobs
by manusachi 1793 days ago
> 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.

[1] [Agent.start_link/2](https://github.com/elixir-lang/elixir/blob/9137fd1cb2368bb1b...)