niklaslong / matrix-client

An experimental client for Matrix built in Elixir
1 stars 0 forks source link

Use ETS to store session state #5

Open fancycade opened 4 years ago

fancycade commented 4 years ago

I've been wondering if using ETS to store session state would be a good idea.

One advantage is that if we set it to have persistent state then even if the client shuts down it can start where it left off.

Without persistent state the Session process can fail without nuking state.