Flash Remoting in Python?

Skip Montanaro skip at pobox.com
Sat Sep 13 10:58:42 EDT 2003


    >> I will note, however, that Flash's XML parser is slow, and WDDX is
    >> more compact than XML-RPC (although it isn't, in itself, an RPC
    >> protocol, unlike XML-RPC).

    Jordan> God, is it ever slow.  I'm working on a remote playlist editor
    Jordan> (Flash talking to Python XML-RPC), and when sending a list of
    Jordan> ~1000 entities across the wire, performance was increased nearly
    Jordan> a hundred times simply by sending one delimited string element
    Jordan> instead of 1000 XML elements.  Of course, XML adds quite a bit
    Jordan> of bloat, but all the time was consumed in CPU, not on the wire.

Have you tried installing sgmlop, which pushes most of the XML parsing into
C?

    http://www.pythonware.com/products/xml/sgmlop.htm

Skip





More information about the Python-list mailing list