Chapter 9. Adding distribution to the cache with Mnesia

This chapter covers

  • Choosing a strategy for distributing the cache
  • An introduction to Mnesia, the built-in database in Erlang
  • Using Mnesia to distribute the cache over multiple nodes

Your cache application is operationally sound as of chapter 7, and chapter 8 should have brought you up to speed on distribution in Erlang. You’ll need it right away. Members of the team at Erlware have been working on adding login functionality and sessions to the site: this will allow authors to update packages, tweak documentation, and change availability of their packages. You’ve been asked to add some features to your cache to make it suitable for storing sessions in order to support this new functionality. ...

Get Erlang and OTP in Action now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.