Assessing the Fit of Elixir/Erlang for Stateful Long-Running Processes

40
clicks
Assessing the Fit of Elixir/Erlang for Stateful Long-Running Processes

Source: reddit.com

Type: Discussion

The author is seeking advice about using Elixir/Erlang processes in a system characterized by stateful and long-running processes, with a memory usage cap of 1KB per process and a maximum of 1,000 concurrent processes. They express concerns about state management, recovery from crashes through supervisors, and the absence of real-time performance requirements. Insights from comments suggest that the architecture could indeed align well with BEAM's strengths, particularly in process management and reliability during crashes. However, attention must be paid to deployment strategies that could impact the persistence of these long-running processes.

© HashMerge 2024