“Why do you stick everything in a database?” —Joe Armstrong
Modern application development can be tough. You need to remember things with long term storage, you need short term storage for the times when that’s too slow, and you need another kind of storage just to remember who you are currently talking to. This process is obsolete.
Elixir affords us other options in designing our applications. We have ready access to:
Accumulate only data stores
Built-in caching via `ets`
Hot code reloading
These tools make it simpler to spend effort solving problems instead of working to satisfy some request/response cycle.
Through a sample application, we will explore these techniques and hone our recognition of when it’s possible to bypass complexity with straightforward data flows.
Make your apps run on state instead of CRUD.