One of my favorite "go to" patterns in my Elixir apps for read only data is to store it all in DETS (https://erlang.org/doc/apps/stdlib/dets), commit it to the repo with Git LFS (https://git-lfs.com), and then bundle it into the Docker container. Data fetching doesn't much faster than that ⚡ #ElixirLang
Comments
Are you saying I could skip the CSV loading if I start the ETS table with a DETS file?
To be fair I've never done it with data that big and it may have compile time impacts.
But depending on lookup you could use the data in a form you like or also into ETS.