Parsing XML Using Parallel Traversal of Streaming Trees

Download Now Free registration required

Executive Summary

XML has been widely adopted across a wide spectrum of applications. Its parsing efficiency, however, remains a concern, and can be a bottleneck. With the current trend towards multicore CPUs, parallelization to improve performance is increasingly relevant. In many applications, the XML is streamed from the network, and thus the complete XML document is never in memory at any single moment in time. Parallel parsing of such a stream can be equated to parallel depth-first traversal of a streaming tree. Existing research on parallel tree traversal has assumed the entire tree was available in-memory, and thus cannot be directly applied. This paper investigates parallel, SAX-style parsing of XML via a parallel, depth-first traversal of the streaming document.

  • Format: PDF
  • Size: 534.8 KB