Abstract
A web service is a modular application that is published, advertised, discovered, and invoked across a network, i.e., an intranet or the Internet. It is based on a “software-as-services” model and may participate as a component of other web services and applications. Binary and XML are two popular encoding/decoding mechanisms for network messages. Binary encoding is used when performance is critical and XML encoding is employed when interoperability with other web services and applications is essential. With each, one may employ compression to reduce message size prior to its transmission across the network. These decisions have a significant impact on response time and throughput. This paper reports on our experiences with a decision support benchmark, TPGH, using these alternatives on different hardware platforms. We focus on queries and make the following observations. First, compression reduces the message size and enhances the throughput of a shared network. With XML, we present numbers from XMill, a compression technique that employs XML semantics. For queries that produce more than one megabyte of XML data, XMill compressed XML messages are almost always smaller than the Zip compressed Binary messages. While this improves the throughput of a networked environment with a fixed bandwidth, the response time of XMill compressed messages are at times twice slower than Zip compressed Binary messages. The processor speed has a significant impact on die observed response times.
This research is supported using an un-rcstneted cash gift from Microsoft research.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Box, D., Ehncbuskc, D.. Kakivaya, G. Layman, A., Mendelsohn, N., Nielsen, H. F., Thattc, S., and Winer, D. Sunple Object Access Protocol (SOAP) 1.1 W3CNote()8, May 2000.
Fielding R. T., J. Gettys, J. Mogul, H. Nielsen, L. Masinter, P. Leach, T. Berners-Lee. Hypertext Transfer Protocol-HTTP/1.1. W3C RFC 2616, June 1999.
Folland, G. B. Real Analysis: Modern Techniques and Their Applications Wiley-Tnterscience, 1999.
Ghandeharizadeh S., C. Papadopoulos, M. Cai and K. Chintalapudi. Perfomiance of Networked XMl Driven Cooperative Applications. Submilted for publication.
Iyer B., and D. Wilhite. Data Compression Support in Databases. In Proceedings of the 20th International Conference on Very Large Data Bases, 1994.
Lielke H., and D. Suciu. XMill: An Efficient Compressor for XML Data. Universily of Pennsylvania Technical Report MSCIS-99-26. M.
Poess, M., and C. Floyd. New TPC Benchmarks for Decision Support and Web Commerce. In ACM SIGMOD Record, Volume 29, Number 4, December 2000.
Postel, J. Transmission Control Protocol. Request for Comments 793, September 1981.
Ziv, J., and A. Lempel. A Universal Algorithm for Sequential Data Compression. IEEE Trans. Inform. Theory 23, 3 (May), 337–343, 1977.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Cai, M., Ghandeharizadeh, S., Schmidt, R., Song, S. (2002). A Comparison of Alternative Encoding Mechanisms for Web Services. In: Hameurlain, A., Cicchetti, R., Traunmüller, R. (eds) Database and Expert Systems Applications. DEXA 2002. Lecture Notes in Computer Science, vol 2453. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46146-9_10
Download citation
DOI: https://doi.org/10.1007/3-540-46146-9_10
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-44126-7
Online ISBN: 978-3-540-46146-3
eBook Packages: Springer Book Archive