Continuing my distributed systems learning series with raw Elixir processes.
02 - Correlated Request Reply
This one explores make_ref/0, request IDs, matching replies with ^ref, selective receive, and concurrent clients.
The part I found most useful was understanding the distinction between a PID and a request reference:
PID → where to send the reply
Reference → which request the reply belongs to
I’ve kept the example minimal and avoided OTP abstractions for now.
GitHub:
Feedback and corrections are welcome!






















