Preserving GenServer State on Node Shutdown
Long running GenServers are an elegant weapon. In this post, we explore how to persist their state on node shutdown and then rehydrate it on system startup.
These articles follow the software I build and the tools I use, from Elixir processes and procedural game maps to personal computing and private notes.
7 articles
Long running GenServers are an elegant weapon. In this post, we explore how to persist their state on node shutdown and then rehydrate it on system startup.
Over the years and through the battle scars, I've formed several hard opinions on how to properly build GenServers positioned for success and maintainability.
Exploring the world of old and cheap business laptops as daily driver machines for the discerning hacker.
How I organize notes in Obsidian and sync a private, encrypted vault with Git, GitHub, and git-crypt.
Feeling betrayed by opt-in surveillance apparatus called social media? Me too, and I'm leaving them forever.
Adventures in graphs, diffusion limited aggregation, and using code to design a dreamworld.
Design notes from Rhea, an abandoned space strategy game: a persistent galaxy, procedural generation, and an Elixir backend.