本文介绍了RPC 在消息传递方面的缺点是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

RPC 在消息传递方面的缺点是什么?

what are the disadvantages of RPC with respect to message passing?

推荐答案

作为一般规则,RPC 提供比其他一些进程间通信方式更高的抽象级别.这可能使它比较低级别的原语更易于使用.对于这种抽象,您可能会因编组/解组而付出一些性能上的代价,并且可能不得不处理简单场景的配置中增加的复杂性.

As a general rule, RPC provides a higher level of abstraction than some other means of interprocess communication. This makes it, perhaps, easier to use than lower level primitives. For this abstraction you may pay some penalty in performance due to marshaling/unmarshaling and may have to deal with added complexity in configuration for simple scenarios.

您可能对此论文感兴趣 (pdf) by Jackie Silcock,讨论了消息传递、RPC 和分布式共享内存之间在性能和实现的几种不同度量方面的差异.您还可以阅读基于论文的其中一篇论文:消息传递、远程过程调用和分布式共享内存作为通信分布式系统范式 (pdf)

You might be interested in this thesis (pdf) by Jackie Silcock which discusses differences between message passing, RPC, and distributed shared memory with respect to several different measures of performance and implementation. You can also read one of the papers based on the thesis: Message Passing, Remote Procedure Calls andDistributed Shared Memory as CommunicationParadigms for Distributed Systems (pdf)

这篇关于RPC 在消息传递方面的缺点是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 09:04