Analyzing XML Parser Memory Characteristics: Experiments towards ImprovingWeb Services Performance

  • Authors:
  • Gang WANG;Cheng XU;Ying LI;Ying CHEN

  • Affiliations:
  • IBM China Research Laboratory, Beijing, 100094, China;IBM China Research Laboratory, Beijing, 100094, China;IBM China Research Laboratory, Beijing, 100094, China;IBM China Research Laboratory, Beijing, 100094, China

  • Venue:
  • ICWS '06 Proceedings of the IEEE International Conference on Web Services
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

XML plays an important role in building enterprise applications. However, most of the XML-based applications, particularly the emerging web services, suffer from low performance caused by XML processing and thus bring negative user experience in terms of response time. We argue that by reducing the considerable overhead in garbage collection the XML processing performance can be improved. We begin by conducting a set of experiments to understand the XML parser's memory characteristics, such as heap composition, object size and type distributions, object lifetime, and so on. Then, we get the valuable findings for improving performance that XML processing, which violates the weak generational hypothesis, is an memory allocation intensive workload in which most objects are small and long-lived. The findings can benefit the design of XML parsing specific GC and related tools designed to improve XML processing performance for web services.