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

Re: SAX: Distributed Implementations

  • From: David.Brownell@E... (David Brownell)
  • To: ak117@f..., xml-dev@i...
  • Date: Mon, 20 Apr 1998 12:22:53 -0700

Re: SAX: Distributed Implementations
>  > I'd probably not split a real application in that particular way,
>  > though.  The latency penalty for lots of fine grained syntax
>  > callbacks hurts, and distributed systems are generally designed to
>  > ship bulk data (such as an XML message) and process it locally
>  > (such as parse, interpret, respond to some purchase order in XML
>  > while updating several databases).  HTTP is only one of the more
>  > visible examples of that trend.
> 
> This wouldn't be too much of a problem with a remote character or byte
> stream, especially since we've removed the single-character and
> single-byte read().  AElfred, for example, slurps up 32K at a time
> into its read buffer.

Sure -- but with each slurp of 32Kb, it can be doing thousands of
syntax callbacks.  That easily adds up to seconds of overhead, even
assuming an idle network (no contention).  A few years ago I used
200 calls per second as a standard OO RPC speed estimate; it can be
faster, but it can be slower too.  And "faster" is not an order of
magnitude faster.

Those callbacks were the worrisome part of your scenario ... :-)


> By the way, Java is simply the initial implementation for SAX, but it
> is not intended to be the only one.

I understand this.  But since the master spec isn't in something like
IDL, then you're already committing to language-specific translations
and customizations ... how do you decide which things should be custom,
which shouldn't be?  You're not making the tradeoffs I'm used to seeing
when people design systems to use in multiple languages.

- Dave


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.