[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML Performance in a Transacation


woodstox performance
>
>> On the standard textual XML front: As has been noted, Xerces and   
>> woodstox can be made to run quite fast, but in practise, few  
>> people  know how do configure them accordingly, and to do so  
>> reliably, and without conformance compromises.
>
> A red herring.  Xerces' defaults are an issue unrelated to the  
> merits of stimulating software developers to use modern C++  
> features instead of sticking to slow 90's features.
>
> (In any case, these optimisations are potentially also applicable  
> to binary XML parsing as well as to real XML processing.)
>
>> Most users can't  afford to study the complex reliability vs.  
>> performance interactions  of myriads of more or less static tuning  
>> knobs.
>
> Same fish.

Fish or not, it reflects the priorities of reality. It's not good  
enough to just provide low-level infrastructure regardless of  
usability concerns.

The bottom line is that more often than not, parser performance  
problems are a result of folks using the parser with inappropriate  
configuration. Why? Because typically the APIs are a huge complex  
mess, designed with little respect for clarity and performance in  
mind. As a user, how do I cache DTDs or schemas? How can I safely  
reuse parser data structures in efficient, thread-safe, memory  
bounded manners? How do I deal with parsers implementing poorly  
specified ambigous "standard" interfaces in varying manners, in more  
or less subtle ways. If it isn't obvious how to take full advantage  
of a parser's theoretic performance capabilities, it mostly won't  
happen in reality, and no amount of internal SSE optimizations will  
change that.

A new performance oriented parser implementation must come with a  
straightforward API, or else it will matter little in practise.

Wolfgang.

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.