News for hackers. Stuff that matters.
Re:Elixir GenServer Explained by pmontra on Tuesday April 27, 2021 @03:36PM (#26960443)
It doesn't. We read data from the db in the init function when the GenServer starts and make callers persist it before sending it to the GenServer. Our GenServers keep data in memory as the one in the post but we could read it from the db each time it ticks to process a record.

There are no comments on this comment yet.