Every time we need to look up a bucket, we need to send a message to the registry. In case our registry is being accessed
concurrently by multiple processes, the registry may become a bottleneck!

In this chapter, we will learn about ETS (Erlang Term Storage) and how to use it as a cache mechanism.

Warning! Don't use ETS as a cache prematurely! Log and analyze your application performance and identify which parts are
bottlenecks, so you know whether you should cache, and what you should cache. This chapter is merely an example of how
ETS can be used, once you've determined the need.

continue reading on hexdocs.pm

⚠️ This post links to an external website. ⚠️