[ZODB-Dev] Python RPC

David Brown ddb@namshub.org
Fri, 25 May 2001 10:16:11 -0700


At 08:40 AM 5/25/2001 +0100, Chris Withers wrote:

>Well, the last point is probably the real reason ;-) It feels like it could be
>fun to implement.

I suspected as much, since that's what appealed to me.  On the other hand, 
DO look at the xmlrpclib source.  It's very well crafted, and much can be 
learned about creating a flexible library.

>However, on a practical level, which is less resource intensive? 
>Marshalling XML
>or marshalling to Pickle's?

As has already been pointed out, the big advantage of XML-RPC (and SOAP, as 
long as we can continue to maintain interop) (and I suppose CORBA as well) 
is that you are not limiting your endpoints to Python.  Only Python can 
read pickles, unless you want to write compatibility packages for other 
languages.

I like XML-RPC because it just drops in.

dave