A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://stackoverflow.com/questions/14504450/pythons-xmlrpc-extremely-slow-one-second-per-call below:

xml rpc - Python's xmlrpc extremely slow: one second per call

The problem seemed to be with the client resolving localhost.

New (fast) connect URI:

'http://127.0.0.1:50080'

Similarly, adding this line in the hosts file %SystemRoot%\System32\drivers\etc\hosts has essentially the same effect:

127.0.0.1 localhost

Either of these changes increased the speed from 1 call/second to 88 calls/second, and skipping the getfqdn resolution might speed it up slightly more. Not extremely high-capacity, but acceptable for my application.

Correction: the new performance isn't 88 calls/second, but ~1000 calls/second.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4