Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RPC lib for Python [closed]

What RPC framework/lib for python could you recommend me? The architecture is client-server, server should stand high load, and connection tunneled over ssl. I've googled such things as pyro, twisted.spread, rpyc.

like image 873
Roman Dolgiy Avatar asked Feb 19 '10 22:02

Roman Dolgiy


People also ask

How do I use RPC in Python?

Remote Procedure Call (RPC) system enables you to call a function available on a remote server using the same syntax which is used when calling a function in a local library. This is useful in two situations.

How do I enable Allow_none on XML-RPC?

In your server class, add allow_none=True to your SimpleXMLRPCServer instantiation. The allow_none and encoding parameters are passed on to xmlrpc. client and control the XML-RPC responses that will be returned from the server.

What is ServerProxy in Python?

A ServerProxy instance is an object that manages communication with a remote XML-RPC server. The required first argument is a URI (Uniform Resource Indicator), and will normally be the URL of the server.

When was XML-RPC created?

The XML-RPC protocol was created in 1998 by Dave Winer of UserLand Software and Microsoft, with Microsoft seeing the protocol as an essential part of scaling up its efforts in business-to-business e-commerce.


1 Answers

The are some alternatives to Pyro if you really need high loads:

  • http://pypi.python.org/pypi/jpc (see more on http://winpdb.org/2009/11/enter-jpc/)
  • From the same guy: http://code.google.com/p/rfoo/

Both are really fast. The second one needs Cython, however; so you can try jpc on the first place.

like image 179
manu Avatar answered Sep 28 '22 00:09

manu