July 30, 2021 02:19 pm GMT
Original Link: https://dev.to/maco/elixir-wizards-talk-dealing-with-a-monster-ecto-query-1k52
Elixir Wizards Talk: "Dealing With a Monster Ecto Query"
Last month, I spoke at the first-ever Elixir Wizards Conference. It was a lightning talk walking through a refactor I did before the 2020 US Presidential Election, titled "Dealing With a Monster Ecto Query."
I work for a news company, so the presidential election is a huge deal; we can't have downtime. I knew which query was our bottleneck, so I optimized it right before the election. This took advantage of a few Elixir features, like atoms, the pin operator, and concurrency primitives.
You can watch the talk below:
Original Link: https://dev.to/maco/elixir-wizards-talk-dealing-with-a-monster-ecto-query-1k52
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To