Something we’ve been doing time and time again has been implementing some kind of storage device as a process. We’ve made fridges to store things, built
regis to register processes, seen key/value stores, and so on. If we were programmers doing object-oriented design, we would have a bunch of singletons floating around, special storage classes, and whatnot. In fact, wrapping data structures like dicts and GB trees in processes is a bit like that.
This chapter introduces ETS, an in-memory database that provides an alternative data storage approach.
Holding data structures in a process ...