Exploring Elixir Concurrency for Project Needs

129
clicks
Exploring Elixir Concurrency for Project Needs
HarrisInDenver is researching Elixir to determine if its concurrency model suits their project's requirements. The current system runs on NodeJS and involves a Control Plane API, a Redis Cache, and parallel data processing with a Data Plane. Problems include bottlenecks, scaling issues, race conditions, and memory leaks. They seek to migrate to either Elixir or Go to scale and improve reliability. The author has a basic understanding of Elixir and is developing a simplified version of their architecture using Docker Compose, omitting external dependencies for the time being. They need guidance on effectively using Elixir's OTP components—Agents, GenServers, and Supervisors—and understanding how BEAM VM scales. Resources on BEAM concurrency and example metrics are requested.

© HashMerge 2024