Abstract
Web service caching, i.e., caching the responses of XML web service requests, is needed for designing scalable web service architectures. Such caching of dynamic content requires maintaining the caches appropriately to re.ect dynamic updates to the back-end data source. In the database, especially relational, context, extensive research has addressed the problem of incremental view maintenance. However, only a few attempts have been made to address the cache maintenance problem for XML web service messages. We propose a middleware solution that bridges the gap between the cached web service responses and the backend dynamic data source. We assume, for generality, that the back-end source has a general XML logical data model. Since the RDBMS technology is widely used for storing and querying XML data, we show how our solution can be implemented when the XML data source is implemented on top of an RDBMS. Such implementation exploits the well-known maturity of the RDBMS technology. The middleware solution described in this paper has the following features that distinguish it from the existing technology in this area: (1) It provides declarative description of Web Services based on rich and standards-based view speci.cation language (XQuery/XPath); (2) No knowledge of the source XML schema is assumed, instead the source can be any general well-formed XML data; (3) The solution can be easily deployed on RDBMS, and (4) The size of the auxiliary data needed for the cache maintenance does not depend on the source data size, therefore, the solution is highly scalable. Experimental evaluation is conducted to assess the performance bene.ts of the proposed approach.
Chapter PDF
Similar content being viewed by others
References
Abiteboul, S., Bonifati, A., Cobena, G., Manolescu, I., Milo, T.: Dynamic XML documents with distribution and replication. In: SIGMOD Conference, pp. 527–538 (2003)
Candan, K.S., Agrawal, D., Li, W., Po, O., Hsiung, W.: View invalidation for dynamic content caching in multitiered architectures. In: The 28th Very Large Data Bases Conference (2002)
Challenger, J., Dantzig, P., Iyengar, A.: A scalable system for consistently caching dynamic web data. In: Proceedings of IEEE INFOCOM (1999)
Choi, C.Y., Luo, Q.: Template-based runtime invalidation for database-generated web contents. In: Yu, J.X., Lin, X., Lu, H., Zhang, Y. (eds.) APWeb 2004. LNCS, vol. 3007, pp. 755–764. Springer, Heidelberg (2004)
Datta, A., Dutta, K., Thomas, H.M., Vandermeer, D.E., Ramamritham, K.: Proxy-based acceleration of dynamically generated content on the world wide web: An approach and implementation. ACM Trans. Database Syst 29(2), 403–443 (2004)
Deutsch, A., Fernandez, M., Suciu, D.: Storing Semi-structured Data with STORED. In: Proceedings of the 1999 ACM International Conference on Management of Data, SIGMOD 1999 (1999)
Diao, Y., Altinel, M., Franklin, M.J., Zhang, H., Fischer, P.: Path sharing and predicate evaluation for high-performance XML filtering. ACM Trans. Database Syst 28(4), 467–516 (2003)
Florescu, D., Grunhagen, A., Kossmann, D.: XL: An XML programming language for web service specification and composition. In: WWW 2002, International World Wide Web Conference (2002)
Florescu, D., Kossman, D.: Storing and Querying XML Data using an RDBMS. IEEE Data Engineering Bulletin 22(3), 27–34 (1999)
Goldman, R., McHugh, J., Widom, J.: From Semistructured Data to XML: Migrating the Lore Data Model and Query Language. In: Proceedings of the ACM International Workshop on the Web and Databases, WebDB 1999 (1999)
Naughton, J., DeWitt, D., Maier, D., Aboulnaga, A., Chen, J., Galanis, L., Kang, J., Krishnamurthy, R., Luo, Q., Prakash, N., Ramamurthy, R., Shanmugasundaram, J., Tian, F., Tufte, K., Viglas, S., Zhang, C., Jackson, B., Gupta, A., Chen, R.: The Niagara Internet Query System. IEEE Data Engineering Bulletin 24(2) (2001)
O’Neil, P.E., O’Neil, E.J., Pal, S., Cseri, I., Schaller, G., Westbury, N.: Ordpaths: Insert-friendly xml node labels. In: SIGMOD Conference, pp. 903–908 (2004)
Sawires, A., Tatemura, J., Po, O., Agrawal, D., Candan, K.S.: Incremental Maintenance of Path-Expression Views. In: SIGMOD Conference (2005)
Schmidt, A., Waas, F., Kersten, M.L., Carey, M., Manolescu, I., Busse, R.: Xmark: A benchmark for xml data management. In: CAiSE 2002 and VLDB 2002, pp. 974–985 (2002)
Shanmugasundaram, J., Krishnamurthy, R., Tatarinov, I., Shekita, E., Viglas, E., Kinman, J., Naughton, J.: A General Technique for Querying XML Documents using a Relational Database System. In: Proceedings of the 2001 ACM International Conference on Management of Data, SIGMOD 2001 (2001)
Shanmugasundaram, J., Shekita, E.J., Barr, R., Carey, M.J., Lindsay, B.G., Pirahesh, H., Reinwald, B.: Efficiently publishing relational data as xml documents. In: Proceedings of 26th International Conference on Very Large Data Bases (VLDB 2000), Cairo, Egypt, September 10-14, pp. 65–76 (2000)
Tatarinov, I., Viglas, S., Beyer, K.S., Shanmugasundaram, J., Shekita, E.J., Zhang, C.: Storing and querying ordered XML using a relational database system. In: Proceedings of the 2002 ACM International Conference on Management of Data (SIGMOD 2002), pp. 204–215 (2002)
Terry, D.B., Ramasubramanian, V.: Caching xml web services for mobility. ACM Queue 1(3), 70–78 (2003)
Yagoub, K., Florescu, D., Issarny, V., Valduriez, P.: Caching strategies for data-intensive web sites. The VLDB Journal, 188–199 (2000)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 IFIP International Federation for Information Processing
About this paper
Cite this paper
Tatemura, J., Po, O., Sawires, A., Agrawal, D., Candan, K.S. (2005). WReX: A Scalable Middleware Architecture to Enable XML Caching for Web-Services. In: Alonso, G. (eds) Middleware 2005. Middleware 2005. Lecture Notes in Computer Science, vol 3790. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11587552_7
Download citation
DOI: https://doi.org/10.1007/11587552_7
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-30323-7
Online ISBN: 978-3-540-32269-6
eBook Packages: Computer ScienceComputer Science (R0)