concept worker process in category elixir
appears as: worker process, worker processes, worker processes

This is an excerpt from Manning's book The Little Elixir & OTP Guidebook.
When designing your own concurrent programs, you must decide which types of messages the processes should receive and send, along with the interactions between processes. In the example program, I decided to use {:ok, result} and :exit for the coordinator process and {sender_pid, location} for the worker process. I personally find it helpful to sketch out the interactions between the various processes along with the messages that are being sent and received. Resist the temptation to dive right into coding, and spend a few minutes sketching. Doing this will save you hours of head scratching and cursing!