Read (skimmed enough to get coding) through Erlang Programming and Programming Erlang.
One question, which is as simple as it sounds:
If you have a process Pid1
on machine m1
and a billion million messages are sent to Pid1
, are messages handled in parallel by that process (I get the impression no) and(answered below)
is there any guarantee of order when processing messages? ie. Received in order sent? If so, how is clock skew handled in high traffic situations for ordering?
Coming from the whole C/Thread pools/Shared State background ... I want to get this concrete. I understand distributing an application, but want to ensure the 'raw bones' are what I expect before building processes and distributing workload.
Also, am I right in thinking the whole world is currently flicking through Erlang texts ;)