So if Elixir processes are isolated and run independently, how exactly do they communicate? Find out in today’s new module of our Elixir/OTP course: #22 Sending and Receiving Messages.
Just like people communicate, Elixir processes communicate by sending asynchronous messages to each other. In our app, we spawn a series of API requests that run in independent processes. They then send back their results as messages to be received by the request-handling process. We also look at how to avoid synchronization points in our code.
P.S. While attempting to record the intro to our latest course module “on the wildlife refuge,” we quickly realized that the great outdoors aren’t as quiet as we thought. Hope you enjoy the bloopers! 😂