Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9188867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:06:56+00:00 2026-06-17T20:06:56+00:00

I built an xml-rpc server in Python using SimpleXMLRPCServer, according to the example in

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:06:57+00:00Added an answer on June 17, 2026 at 8:06 pm

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use XML-RPC Server and client with android application from this link: http://www.codeforest.net/how-to-build-php-xml-rpc-server-client-and-android-app communication
I am using eval to create an associative array from php built in xml
Is there some (working) example how to create RPC from windows to linux? Client
I have built an XML-RPC interface in Python and I need to enforce some
is there any good reason not to use XML-RPC for an object-broker server/client architecture?
I'm using Java's built in XML transformer to take a DOM document and print
I'm using the built-in Java XML Transformer to serialize an XML document into text.
There are so many html and xml libraries built into python , that it's
I want to consume an XML-RPC service built in PHP for my WP7 app
Environment: SQL Server 2012. Primary and secondary (value) index is built on xml column.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.