论坛首页 综合技术论坛

Erlang Message Receive Fundamentals

浏览 1614 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2009-02-23   最后修改:2009-02-23
请参考 http://www.duomark.com/erlang/briefings/euc2006/index.html

Ulf大佬写的,质量有保证!

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

写的很好,相信看了后会对消息接收机制有了更深入的理解,改变我们的初级的对消息队列的使用习惯。
   发表时间:2009-02-24  
Multiple receive statements can lead to overlooked message patterns

这条记住了..
6 请登录后投票
   发表时间:2009-02-24  
这些大佬们真是贡献了不少好的文章啊...
0 请登录后投票
   发表时间:2009-02-24  
不过大佬跳槽了 不知道以后是不是会写的更多!
0 请登录后投票
论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics