2 messages · Page 1 of 1 (latest)
Are there any recommendations for ensuring state is kept across disconnects?
My first thought is leveraging a DynamicSupervisor, a Registry, and storing the state in a separate GenServer, but is there maybe a better way to do that?
For my specific use case I'm fine with state being lost between server restarts.
Then what you have described is the best approach