some basic questions

Vance Shipley <>
Sat Oct 9 00:10:51 CEST 1999


}  is there support in any of the libraries/contributions for multi-node
}  message delivery, similar to those found in GCS type toolkits or does this

Look at pg2(Module).

}  abstraction have to be built?  also, if i understand things, the order in
}  which the message patterns are placed after the ``receive'' keyword is the
}  order that the node will get the message, regardless of the actual order
}  the messages came in.  is this right?  next, from the literature i gather

I wouldn't agree with your semantics, the node receives the messages in
the order it receives them.  A process receives them in the order it pulls
them out of the mailbox.  The first receive clause done for a message of the
form {foo, Bar} will succeed if a message of that pattern exists.  If the
first reeceive clause encountered is one which accepts anything (e.g. Msg)
then you will get them in the order they were received.

}  there aren't any gurantees for message delivery (no way to know if a
}  message was consumed or not) -- is there any work being done on this?

This has been one of my concerns I look forward to other's comments.

}  finally, if a node fails, what can one assume about current processes at
}  that node?  i guess i'm a little unclear about the relationship between
}  message delivery and failure notofication/detetection.

If you put them under an appropriately constructed supervision scheme you 
can assume they have been recreated at other nodes.

}  P.S. if anyone is willing to share success/horror stories w/ erlang
}  (outside of those at ericson) for commerical projects, i'd be very
}  appreciative.

Love to.

	-Vance 



More information about the erlang-questions mailing list