在 Python 中进行 RPC 的当前选择是什么? [英] What is the current choice for doing RPC in Python?

查看:65
本文介绍了在 Python 中进行 RPC 的当前选择是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上,我已经用 Pyro 和 RPyC 做了一些工作,但是有比这两个更多的 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?

基于 Python 的原生协议:

Native Python-based protocols:

具有大量底层协议的 RPC 框架:

RPC frameworks with a lot of underlying protocols:

基于 JSON-RPC 的框架:

JSON-RPC based frameworks:

肥皂:

基于 XML-RPC 的框架:

XML-RPC based frameworks:

  • XMLRPC, using the xmlrpclib and SimpleXMLRPCServer modules in the standard library.

其他:

  • WAMP (RPC + PubSub, JSON + MsgPack)
  • Twisted Spread
  • ZMQRPC (ZeroMQ and BSON based)
  • VPy (Versile Python) - AGPLv3
  • zerorpc (Python or Node.js, msgpack + ZeroMQ)
  • gRPC

推荐答案

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

XML-RPC is part of the Python standard library:

  • Python 2: xmlrpclib and SimpleXMLRPCServer
  • Python 3: xmlrpc (both client and server)

这篇关于在 Python 中进行 RPC 的当前选择是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆