I don't know exactly what you're passing , so I can't help you too much in a specific module that might suit your needs -- but my benchmarks with SOAP::Lite and the data I passed suggested the majority of the time was spent in serializing/deserializing the data.

I replaced the serializer and deserializer, so that it didn't do nearly as much inspection of the values in trying to guess what the variable types were. It's possible that a document/literal serializer might be viable, as we could remove all of the inspection on serialization, but I haven't had a chance to test it.

We're also looking at alternate formats for data encoding, as we have a whole lot of small fields, and the XML format accounts for the majority of the message (and still would, even if we switched to doc/lit).

Although REST has been mentioned -- I'm reluctant to suggest that path without knowing what you're passing. It's fine for making data available, but I'm working on search engines, and I haven't found a good way to define the search parameters in a manner that works for us. (if someone knows of good examples of REST being used for seaches w/ over a dozen independant paramters (that might change in the future), please let me know, as I'd love to see how other people are dealing with the problem).

Other things to try to speed up your access -- (note: I haven't tried either, so I don't know how much they'll help) -- try accessing the service via a WSDL, as it should change how serialization is handled. Or try specifying the type of each item using SOAP::Data objects ... it may speed up serialization at the very least.


In reply to Re: Faster than soap ? by jhourcle
in thread Faster than soap ? by jeteve

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.