chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefane Fermigier ...@nuxeo.com>
Subject Replacing minidom by lxml (or cElementTree) in cmislib
Date Wed, 31 Aug 2011 13:31:32 GMT
Hi,

We've used cmislib for some intensive work against the Nuxeo server, and it appears that the
bottleneck when using similarly sized machines for the server and the client is the client.

(This due to Python being generally one order of magnitude slower than Java, and CPython having
a hard time utilize the multiple available cores, due to the GIL).

Running cmislib under PyPy helps a bit (x2) but it's not enough.

One way to gain a bit more performance could be to replace minidom (based on expat) by lxml
(based on libxml2) in cmislib2.

This would introduce another dependency (minidom is in the Python standard distribution, not
lxml), and needs some (tedious) work because the API are difference.

What do you think. Jeff (and others) ?

  S.

-- 
Stefane Fermigier, Founder and Chairman, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com/ - +33 1 40 33 79 87 - http://twitter.com/sfermigier
Join the Nuxeo Group on LinkedIn: http://linkedin.com/groups?gid=43314
New Nuxeo release: http://nuxeo.com/dm54
"There's no such thing as can't. You always have a choice."


Mime
View raw message