问题:在Python中执行RPC的当前选择是什么?[关闭]

实际上,我已经对Pyro和RPyC做过一些工作,但是RPC的实现要比这两者更多。我们可以列出它们吗?

基于本机Python的协议:

具有许多基础协议的RPC框架:

基于JSON-RPC的框架:

肥皂:

基于XML-RPC的框架:

其他:

Actually, I’ve done some work with Pyro and RPyC, but there is more RPC implementation than these two. Can we make a list of them?

Native Python-based protocols:

RPC frameworks with a lot of underlying protocols:

JSON-RPC based frameworks:

SOAP:

XML-RPC based frameworks:

Others:


回答 0

XML-RPC是Python标准库的一部分:

XML-RPC is part of the Python standard library:


回答 1

Apache Thrift是Facebook开发的一种跨语言RPC选项。通过套接字工作,函数签名以与语言无关的方式在文本文件中定义。

Apache Thrift is a cross-language RPC option developed at Facebook. Works over sockets, function signatures are defined in text files in a language-independent way.


回答 2

自从我问了这个问题之后,我就开始使用python-symmetric-jsonrpc。它非常好,可以在python和非python软件之间使用,并遵循JSON-RPC标准。但是它缺少一些例子。

Since I’ve asked this question, I’ve started using python-symmetric-jsonrpc. It is quite good, can be used between python and non-python software and follow the JSON-RPC standard. But it lacks some examples.


回答 3

您可以尝试拉登。它一次提供多种Web服务器协议,因此您可以在客户端提供更大的灵活性。

http://pypi.python.org/pypi/ladon

You could try Ladon. It serves up multiple web server protocols at once so you can offer more flexibility at the client side.

http://pypi.python.org/pypi/ladon


回答 4

有一些尝试使SOAP与python一起使用,但是我还没有对其进行过多的测试,所以我不能说它是否好。

SOAPy是一个例子。

There are some attempts at making SOAP work with python, but I haven’t tested it much so I can’t say if it is good or not.

SOAPy is one example.


回答 5

我们正在开发Versile PythonVPy),这是新ORB / RPC框架的python 2.6+和3.x的实现。可以提供用于审查和测试的功能性AGPL开发版本。VPy通过一般的本机对象层(代码示例)具有与PyRo和RPyC类似的本机python功能。该产品专为实现Versile Platform的平台无关的远程对象交互而设计

全面披露:我为开发VPy的公司工作。

We are developing Versile Python (VPy), an implementation for python 2.6+ and 3.x of a new ORB/RPC framework. Functional AGPL dev releases for review and testing are available. VPy has native python capabilities similar to PyRo and RPyC via a general native objects layer (code example). The product is designed for platform-independent remote object interaction for implementations of Versile Platform.

Full disclosure: I work for the company developing VPy.


回答 6

也许是实现SOAP的ZSI。我使用了存根生成器,并且工作正常。我遇到的唯一问题是通过HTTPS进行SOAP。

maybe ZSI which implements SOAP. I used the stub generator and It worked properly. The only problem I encountered is about doing SOAP throught HTTPS.


回答 7

您错过了omn​​iORB。这是一个相当完整的CORBA实现,因此您也可以使用它与其他具有CORBA支持的语言进行对话。

You missed out omniORB. This is a pretty full CORBA implementation, so you can also use it to talk to other languages that have CORBA support.


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。