best way to accelerate xmlrpc?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mh@pixar.com

    best way to accelerate xmlrpc?

    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
  • skip@pobox.com

    #2
    Re: best way to accelerate xmlrpc?


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

    Markxmlrpclib.p y 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

    Comment

    • =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

      #3
      Re: best way to accelerate xmlrpc?

      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

      Comment

      Working...