Chapter 6. Implementing a caching system

This chapter covers

  • Designing a simple cache system
  • Creating the basic application and supervision structure
  • Implementing the main functionality of the cache

Now that you’re familiar with the basics of Erlang/OTP, it’s time to move on to more advanced and realistic examples. Starting in this chapter, you’ll spend part 2 of this book building up a useful, distributed application in Erlang. To help you understand the motivations for what you’re doing, we couch this development within the narrative of an open source project called Erlware that is facing some fictional, but realistic, challenges that you’ll solve.

6.1. The background story

The Erlware project is focused on making Erlang applications easily ...

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.