Persistence Strategies

In the previous chapters, you learned about Elixir’s excellent tools for reasoning about state. In this chapter, we’ve begun to explore some of the abstractions for building distributed systems. At this point, you may be wondering, when to use Elixir abstractions and when to instead rely on off-the-shelf solutions. Sometimes the lines between creating a database and a GenServer may blur.

You are not alone. The team at Plataformatec heard similar questions, from the community and different clients around the world. Those conversations often involved different technologies, ranging from databases to messaging systems. To address such questions, the first topic Plataformatec engineers would bring up was about persistence ...

Get Adopting Elixir now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.