Skip to Content
Phoenix Web Development
book

Phoenix Web Development

by Brandon Richey
April 2018
Beginner to intermediate content levelBeginner to intermediate
406 pages
9h 33m
English
Packt Publishing
Content preview from Phoenix Web Development

Why use ETS?

This, of course, begs the question of why we should use it if it can go away that quickly. The first reason is that it's fast! It's also very simple to implement and requires no additional infrastructure, which means if you need to cache temporary information, it's actually very simple to do so. Since this information is so incredibly temporary, however, we need to make sure that we don't store any information in it that is actually necessary to the function of our application, or at the very least information that is not also available somewhere in a more permanent form of storage. 

That is honestly where ETS shines: using it for temporary caches of information that you have elsewhere, but maybe more expensive to fetch from. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Phoenix in Action

Phoenix in Action

Geoffrey Lessel
Real-Time Phoenix

Real-Time Phoenix

Stephen Bussey

Publisher Resources

ISBN: 9781787284197Supplemental Content