Time order of messages
Posted
by Aiden Bell
on Stack Overflow
See other posts from Stack Overflow
or by Aiden Bell
Published on 2010-03-17T20:46:08Z
Indexed on
2010/03/19
0:01 UTC
Read the original article
Hit count: 263
erlang
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 ;)
© Stack Overflow or respective owner