473,508 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

best way to accelerate xmlrpc?

mh
I've got some python xmlrpc servers and clients.
What's the best way to accelerate them?

xmlrpclib.py attempts to import these modules:

import _xmlrpclib
import sgmlop
from xml.parsers import expat

and falls back to defining the SlowParser class.

So, which of these modules is the preferred one to build
for python 2.5? for python 2.6?

Many TIA!
Mark

--
Mark Harrison
Pixar Animation Studios
Nov 8 '08 #1
2 1931

MarkI've got some python xmlrpc servers and clients. What's the best
Markway to accelerate them?

Markxmlrpclib.py attempts to import these modules:

Mark import _xmlrpclib
Mark import sgmlop
Mark from xml.parsers import expat

sgmlop always worked well for me. I never bothered to try anything else.
Haven't used it in quite awhile though (2.4-ish). I just built sgmlop 1.1.1
with the cvs head version of Python (aka 2.7a0) and ran its selftest script
with no errors.

Skip
Nov 8 '08 #2
I've got some python xmlrpc servers and clients.
What's the best way to accelerate them?
You mean, fastest?
xmlrpclib.py attempts to import these modules:

import _xmlrpclib
import sgmlop
from xml.parsers import expat

and falls back to defining the SlowParser class.
Why does it fall back on your system? It should definitely
find expat - that is included with the Python distribution.
So, which of these modules is the preferred one to build
for python 2.5? for python 2.6?
sgmlop is faster than expat. _xmlrpclib apparently is no longer
available.

Regards,
Martin
Nov 8 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2278
by: Roger Keays | last post by:
Can anybody recommend the best xmlrpc library for php? My observations so far are that: * the PEAR XML_RPC package is undocumented * the php xmlrpc extensions are undocumented and require...
0
1816
by: glin | last post by:
Hi I am trying to integrate the xmlrpc server into a class, does anyone know how to get it working? test.html: <html> <head> <title>XMLRPC Test</title> <script src="jsolait/init.js"></script>...
0
1722
by: Juan Carlos CORUÑA | last post by:
Hello all, I'm trying to create a COM Server with an embedded xmlrpc server. Here is way it must work: - The client application (programmed with a COM capable language) instantiates my COM...
6
5324
by: Michael Urman | last post by:
Hi. I'm a user of python for about 3 years now. I've written a client-server application that uses SimpleXMLRPCServer and xmlrpclib.ServerProxy to communicate. It's intended to be used by a...
1
2779
by: Joxean Koret | last post by:
Hi to all! I'm having troubles to make my XMLRPC application working with non ASCII characters. Example: 1.- In one terminal run the following script: -----------XMLRPC...
1
3197
by: emielvl | last post by:
Hello, I'm developing a client/server architecture based on the XML-RPC implementation in php4. All works pretty well, except that in the response from the server there is no "Content-Length" in...
4
8174
by: elyob | last post by:
Hi, I've got --with-xmlrpc option in my php.ini and can see on my phpinfo page. Now, how do I include this in some code? So far I've been downloading xmlrpc into a folder and just calling it from...
0
2737
by: Benjamin Grieshaber | last post by:
Hi, I´m on SuSE 9.3 with xmlrpc-c and xmlrpc-c-devel installed (ver. 0.9.10) I tried to compile php with xmlrpc support and got the following errors: ...
4
3924
by: care02 | last post by:
I have implemented a simple Python XMLRPC server and need to call it from a C/C++ client. What is the simplest way to do this? I need to pass numerical arrays from C/C++ to Python. Yours, Carl
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7123
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7324
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7042
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7495
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3181
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1556
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.