Gain a Splash of New Skills - Coursera+ Annual Nearly 45% Off
AI Product Expert Certification - Master Generative AI Skills
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore how to write Elixir code as if all Ecto data is already loaded in this 39-minute conference talk from Code BEAM Europe 2024. Discover the Dx library, which enables pattern matching to match associations, using Enum functions to navigate associated data, and accessing fields in associations without additional data loading considerations. Learn how Dx (data-driven Elixir) translates Elixir code to run optimized for the database, similar to how Nx translates code for GPU optimization. Understand how Dx converts your code either to Ecto queries or to versions with automatic data loading, optimized through batching and concurrency. See how this approach creates clear, maintainable Elixir code structured in standard modules and functions without requiring manual data loading implementation, while maintaining efficiency compared to traditional Ecto queries and preloading methods.
Syllabus
Run Elixir in the database using Dx - Arno Dirlam | Code BEAM Europe 2024
Taught by
Code Sync