Get Started with ETS

Understand the details of ETS in this lesson.

CRUD operations

We need to create a new table with the Erlang :ets.new/2 function to start using ETS. The :ets.new/2 function takes an atom for the name of the table we’re creating and also takes a list of options. Once we have a new table, we’ll see how the CRUD operations work: creating, retrieving, updating, and deleting records.

Try it out

Let’s try this out with a test example.

We’ll make a public set table named :test_table. Since :set is the ...