OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: half-baked parsers vs binary XML

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: XML List <xml-dev@ic.ac.uk>
  • Date: Mon, 29 Mar 1999 13:35:22 -0500 (EST)

Gabe Beged-Dov writes:

 > > The XML/SGML processing model is generally to walk through a document
 > > (as a collection of events or as a tree) and fire off handlers for
 > > different types of things.  Even a short to medium-length XML document
 > > can cause the handlers to be fired off many thousands of times, and if
 > > you're trying to handle hundreds of requests per second, that's going
 > > to cause problems with or without XML.
 > Are we talking about throughput or responsiveness?  It would be
 > useful to bring up some use-cases where XML processing can't be
 > employed using the default handler firing model and try to
 > understand what the alternatives are.

I'm talking about throughput -- using a persistent interpreter (like
mod_perl) rather than a CGI can solve most of the responsiveness

The difficulty is just that firing off so much Perl code is (in Perl's
current design) slow.  The original posting suggested using a binary
format because parsing XML with Expat is slow, but in fact, Expat and
the actual XML parsing turn out not to be a bottleneck.

All the best,


David Megginson                 david@megginson.com

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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS