Initializing view data at application startup time

Seems like a good use case for :persistent_term. You could add a GenServer to your app that, on boot, hits the database, looks up the values, and then places them in :persistent_term which provides extremely fast lookups.