Skip to main content

A Comparison of Alternative Encoding Mechanisms for Web Services

  • Conference paper
  • First Online:
Database and Expert Systems Applications (DEXA 2002)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2453))

Included in the following conference series:

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 to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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.

    Google Scholar 

  2. 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.

    Google Scholar 

  3. Folland, G. B. Real Analysis: Modern Techniques and Their Applications Wiley-Tnterscience, 1999.

    Google Scholar 

  4. Ghandeharizadeh S., C. Papadopoulos, M. Cai and K. Chintalapudi. Perfomiance of Networked XMl Driven Cooperative Applications. Submilted for publication.

    Google Scholar 

  5. Iyer B., and D. Wilhite. Data Compression Support in Databases. In Proceedings of the 20th International Conference on Very Large Data Bases, 1994.

    Google Scholar 

  6. Lielke H., and D. Suciu. XMill: An Efficient Compressor for XML Data. Universily of Pennsylvania Technical Report MSCIS-99-26. M.

    Google Scholar 

  7. Poess, M., and C. Floyd. New TPC Benchmarks for Decision Support and Web Commerce. In ACM SIGMOD Record, Volume 29, Number 4, December 2000.

    Google Scholar 

  8. Postel, J. Transmission Control Protocol. Request for Comments 793, September 1981.

    Google Scholar 

  9. Ziv, J., and A. Lempel. A Universal Algorithm for Sequential Data Compression. IEEE Trans. Inform. Theory 23, 3 (May), 337–343, 1977.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics