We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Design considerations for modeling real-world entities as actors in Elixir
92
clicks
Source: reddit.com
Sexy-Swordfish, an experienced software developer new to Elixir, is exploring the idea of creating a system where every entity is represented as a persistent, long-lived actor, possibly using GenServer processes. This design would involve individual entities, such as users, sessions, and comments, being actors with their own state and message interfaces. Each actor would maintain relationships to other entities, managing complex system states and interactions. By adopting an actor-system approach, the developer aims to closely map business cases and processes to code, leveraging the concurrency model of Elixir and Erlang. They are seeking input on this approach, its terminology, and its prevalence or appropriateness within the Elixir community.
Related posts
© HashMerge 2024