Erlang solution for excercise 8.11 in Programming Erlang
In my previous post, I presented a Java solution to the Ring problem. Following is my Erlang solution.
In my previous post, I presented a Java solution to the Ring problem. Following is my Erlang solution.
Create N processes in a ring. Send a message round the ring M times so that a total of N * M messages get sent. Time how long this takes for different values of N and M.