I built an xml-rpc server in Python using SimpleXMLRPCServer, according to the example in the Python documentation. I'm calling it from a Python client on the same machine. The body of the server function executes very fast on its own.
But I find that xmlrpc client performance is excruciatingly slow, taking one second per call. (Using xmlrpclib.)
A speed-up technique I found on the web (skipping the getfqdn resolution) didn't help.
My connect URI is:
'http://localhost:50080'
I'm running Python 2.7 x64 on Windows 7, but it works the same for 32-bit Python 2.7.
127.0.0.1 localhost
commented. Simply uncommenting it solved the issue. Great! – Tiro