RE: Andrew Layman and Don Box Analysis of XML Optimization Techniques


I couldn't agree with your assessment more.  This is why Microsoft is
exploring optimizations that keep us in the text realm, first with
PASwA/MTOM and now with this new proposal that addresses both opaque and
structured data.


-----Original Message-----
From: Rice, Ed ( [] 
Sent: Wednesday, April 06, 2005 2:41 PM
Cc: Andrew Layman; Don Box; Paul Cotton
Subject: RE: Andrew Layman and Don Box Analysis of XML Optimization

I've read the binary xml and we could discuss in detail, however in
summary I would say my concerns are as follows;

1) There is nothing which really proves the binary xml format provides
more of a performance impact than doing something like optimization of
the streaming processes.  The Binary is clearly more compact for data
transmissions but opening, validating, compacting/de-compacting could be
quite expensive.  So what's the Net?  Its probably dependant upon the
xml file size and the power of the processor.

2) One of the basic ideas around xml is that it be human readable.
Binary violates this basic premise.

3) Since Binary xml discussed including dictionaries, random access,
random updates to the files, this clearly is more brittle and where an
application receives a partial file it really wouldn't be usable
(instead its just corrupt) as opposed to xml where you have partial

I also have to say, the use cases were very interesting.  However, after
spelling out all the problems with xml to turn and say 'Binary xml would
solve this' without support or explaining seemed a little wrong.


-----Original Message-----
From: [] On Behalf
Sent: Wednesday, April 06, 2005 2:31 PM
Cc:; Don Box; Paul Cotton
Subject: Andrew Layman and Don Box Analysis of XML Optimization

The TAG has recently given some attention telcons to the question of 
Binary XML and to the conclusions of the XML Binary Characterization 
Working Group [1].  I've recently become aware of an analysis by Andrew 
Layman and Don Box that may be of interest [2].  I believe their work 
supports the following conclusions:

* An alternative to binary XML, Andrew and Don show that a LISP-like
syntax "(...) may optimize better than the existing "<...>" approach.

* As some of us stated repeatedly, detailed experimental measurements
even formal performance models are essential to justifying any
approach to optimization. 
I suggest we consider these important results in any future discussions.



Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142

Received on Thursday, 7 April 2005 01:14:45 UTC