Python Community Server: Development

A weblog about programming in Python, C#, Java, Perl and C++ - and the occasional comment on PyCS development
new: discuss community servers on the CommunityServerWiki!

SunMonTueWedThuFriSat
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30

[ May ] [ Jul ]

the locals
also available in XML
Copyright (c) 2002 Phillip Pearson
spread the dot

2002-6-5

Now that's what I call a nice speed difference

The XML-RPC interface to PyCS has been plagued with speed problems since day one, but only on this server, not on my development workstation.  This hasn't caused any obvious trouble until now, however, when people are trying to upstream large-ish HTML files after running Dave's weblogNeighborhood tool.

I think the problem is fixed now - PyCS was using Debian's default version of Python, which unfortunately doesn't seem to include any of the fast XML parsers.

The solution?  Upgrade to Python 2.2 and install python-xml2.2, the new, improved XML library.  Now upstreaming to PyCS is much faster and should no longer stall the server like before.  I'm testing it out now.

Comment on this post [ so far]