Conclusions About Erlang Receive
- Erlang makes it very easy to construct messaging systems
- Although easy to use, the language does not simplify hard problems
- Prefer to handle messages in the order received in stateless situations
- Multiple receive statements can lead to overlooked message patterns
- Always rely on receive to wait on messages rather than polling
- Work out a good protocol for your messaging
- Do not be afraid of using more processes to keep queues pure
- Sometimes acking of messages is a necessity