Caveats storing large amounts of data in Elixir Agents
Recently when working on an Elixir project I ran into an interesting gotcha with Agents that caused massive amounts of resource usage. In this post I’m describing how using Agents can lead to high memory usage and how you can solve it by using a worker pool.
https://www.theguild.nl/caveats-storing-large-amounts-of-data-in-elixir-agents/