ElixirConf 2023 - Sam McDavid - Lessons Learned Working with Ecto.Repo.put_dynamic_repo/1

Опубликовано: 27 Июнь 2025
на канале: ElixirConf
1,074
27

Comments at: https://elixirforum.com/t/elixirconf-...

https://2023.elixirconf.com/presenter...

This talk covers the sharp corners and the lessons my team learned when working with Ecto.Repo.put_dynamic_repo/1. We received a requirement in which we needed to store data for specific customers in a separate database, with their own unique encryption keys, to satisfy contract requirements.

This talk outlines our approach. It will cover the initial requirements, how we addressed the requirements, the infrastructure changes that were required, and changes to how we developed our code that were also required. Sharp edges that we ran into with our implementation and how we adapted will also be covered.