Andrea Leopardi

Elixir Core Team Member, Software Engineer at Apple

Andrea is a human born in the ancient lands of central Italy. He loves functional programming, beautiful code, and learning stuff. He’s a software architect, speaker, and member of the core team of the Elixir programming language. His weak spot is having red hair.

Testing Asynchronous OTP

Testing the functional side of Elixir is great. The mix of immutable data, pure functions, and ExUnit make for a streamlined testing experience.

However, when dealing with async code, you’re suddenly faced with problems surrounding state, synchronization points, process-to-process communication, and timeouts.

In this talk, we’ll highlight such problems and tell you about the techniques we use to address them. We’ll focus on OTP constructs since they’re the most common way of using concurrency on the BEAM, but the concepts apply to testing asynchronous code in general.

Concurrent Data Processing In Elixir