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

Re: Optimizing XML performance

  • From: "Mukul Gandhi" <gandhi.mukul@g...>
  • To: "derek denny-brown" <zuligag@g...>
  • Date: Wed, 27 Feb 2008 12:06:55 +0530

Re:  Optimizing XML performance
By transmitting SAX events, I didn't mean sending the whole SAX trace
to the destination. That would be size inefficient, as you described.
I meant sending SAX events as they occur. By sending SAX events, I
mean sending the callback properties.

I think, using compression will work good over a slow network, but it
will need extra processing at source and destination (which shouldn't
be a problem, as these days processing speed is generally fast).

On 2/27/08, derek denny-brown <zuligag@g...> wrote:
> I'm not sure how you expect serialized SAX events to even come close
> to the benefit you would get from compression.  XML tends to be highly
> compressible, so even ZIP or GZIP tends to get you a significant
> benefit at very low cost.  Serializing SAX events has the advantage
> that parsing is faster, but your concern was size.  Since SAX expands
> namespaces, a naive serialization of SAX events will often be
> significantly larger than the original XML.  All of this depends on
> what the capabilities of your WAN are.  Some studies we did at
> AgileDelta demonstrated that on modern hardware, 100Mb is fast enough
> that what you want is a fast parser.  At 10Mb you want to trade CPU
> cycles for compression, since a modern CPU would be waiting on netowrk
> I/O.


-- 
Regards,
Mukul Gandhi


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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-2011 All Rights Reserved.