...
首页> 外文期刊>IEEE internet computing >Let''s Have a Conversation
【24h】

Let''s Have a Conversation

机译:让我们进行对话

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Communicating inside a single program is trivial: one method calls another, the result comes back, and the calling method continues. If anything goes wrong, an exception is thrown. If the program aborts altogether, both caller and callee share the same fate, making the interaction an all-or-nothing affair. This kind of binary outcome is a welcome behavior in the predictive world of computer software, especially one that''s based on 1s and 0s. In the land of loosely coupled distributed systems, things are a little more complicated. Using procedure call semantics for distributed systems is generally considered a bad idea, so systems should communicate in a more loosely coupled way - preferably by exchanging messages. Message-based communication results in a simple interaction model and, if used with message queues, temporal decoupling between sender and receiver: splitting the request-response interaction into two separate messages means that callers don''t have to sit around waiting for response messages
机译:在单个程序中进行通信很简单:一个方法调用另一个,结果返回,然后调用方法继续。如果有任何问题,将引发异常。如果该程序完全中止,则调用方和被调用方都拥有相同的命运,从而使交互成为全有或全无的事情。在计算机软件的预测世界中,这种二进制结果是一种受欢迎的行为,尤其是基于1和0的二进制结果。在松散耦合的分布式系统领域,事情要复杂一些。在分布式系统上使用过程调用语义通常被认为是一个坏主意,因此系统应以更宽松的耦合方式进行通信-最好通过交换消息来实现。基于消息的通信产生了一个简单的交互模型,并且如果与消息队列一起使用,则发送者和接收者之间的时间脱钩:将请求-响应交互分为两个单独的消息,这意味着调用者不必坐在旁边等待响应消息

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号