Skip to main content

Consistent Freshness-Aware Caching for Multi-Object Requests

  • Conference paper
Book cover Web Information Systems Engineering – WISE 2014 (WISE 2014)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 8787))

Included in the following conference series:

  • 1413 Accesses

Abstract

Dynamic websites rely on caching and clustering to achieve high performance and scalability. While queries benefit from middle-tier caching, updates introduce a distributed cache consistency problem. One promising approach to solving this problem is Freshness-Aware Caching (FAC): FAC tracks the freshness of cached data and allows clients to explicitly trade freshness of data for response times. The original protocol was limited to single-object lookups and could only handle complex requests if all requested objects had been loaded into the cache at the same time. In this paper we describe the Multi-Object Freshness-Aware Caching (MOFAC) algorithm, an extension of FAC that provides a consistent snapshot of multiple cached objects even if they are loaded and updated at different points of time. This is done by keeping track of their group valid interval, as introduced and defined in this paper. We have implemented MOFAC in the JBoss Java EE container so that it can provide freshness and consistency guarantees for cached Java beans. Our evaluation shows that those consistency guarantees come with a reasonable overhead and that MOFAC can provide significantly better read performance than cache invalidation in the case of concurrent updates and reads for multi-object requests.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. Altinel, M., Bornhövd, C., Krishnamurthy, S., Mohan, C., Pirahesh, H.: Reinwald. Cache tables: Paving the way for an adaptive database cache. In: VLDB (2003)

    Google Scholar 

  2. Amza, C., Soundararajan, G., Cecchet, E.: Transparent caching with strong consistency in dynamic content web sites. In: Proceedings of ICS 2005 (2005)

    Google Scholar 

  3. BEA. BEA WebLogic Server 10.0 Documentation (2007), edocs.bea.com

  4. Bernstein, P., Fekete, A., Guo, H., Ramakrishnan, R., Tamma, P.: Relaxed-currency serializability for middle-tier caching & replication. In: SIGMOD (2006)

    Google Scholar 

  5. Bornhövd, C., Altinel, M., Krishnamurthy, S., Mohan, C., Pirahesh, H., Reinwald, B.: DBCache: Middle-tier database caching for highly scalable e-business architectures. In: Proceedings of ACM SIGMOD 2003, p. 662 (2003)

    Google Scholar 

  6. Chervenak, A., Foster, I., Kesselman, C., Salisbury, C., Tuecke, S.: The data grid: Towards an architecture for distributed management and analysis of large scientific datasets. Journal of Network and Computer Applications 23, 187–200 (2001)

    Article  Google Scholar 

  7. Chervenak, A., Schuler, R., Kesselman, C., Koranda, S., Moe, B.: Wide area data replication for scientific collaborations. In: Proceedings of 6th IEEE/ACM International Workshop on Grid Computing (Grid 2005) (November 2005)

    Google Scholar 

  8. Guo, H., Larson, P.-Å., Ramakrishnan, R., Goldstein, J.: Relaxed currency and consistency: How to say ‘good enough’ in SQL. In: SIGMOD 2004 (2004)

    Google Scholar 

  9. Larson, P.-Å., Goldstein, J., Zhou, J.: MTCache: Transparent mid-tier database caching in SQL Server. In: Proceedings of ICDE 2004, Boston, USA (2004)

    Google Scholar 

  10. Luo, Q., Krishnamurthy, S., Mohan, C., Pirahesh, H., Woo, H., Lindsay, B., Naughton, J.: Middle-tier database caching for e-business. In: SIGMOD (2002)

    Google Scholar 

  11. Röhm, U., Schmidt, S.: Freshness-aware caching in a cluster of J2EE application servers. In: Benatallah, B., Casati, F., Georgakopoulos, D., Bartolini, C., Sadiq, W., Godart, C. (eds.) WISE 2007. LNCS, vol. 4831, pp. 74–86. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  12. Röhm, U., Böhm, K., Schek, H.-J., Schuldt, H.: FAS – a freshness-sensitive coordination middleware for a cluster of OLAP components. In: VLDB (2002)

    Google Scholar 

  13. Stark, S.: JBoss Administration and Development, 3rd edn. JBoss Group. JBoss Group (2003)

    Google Scholar 

  14. Wang, J.: A survey of web caching schemes for the internet. SIGCOMM Comput. Commun. Rev. 29(5), 36–46 (1999)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this paper

Cite this paper

Rajani, M., Röhm, U., Dey, A. (2014). Consistent Freshness-Aware Caching for Multi-Object Requests. In: Benatallah, B., Bestavros, A., Manolopoulos, Y., Vakali, A., Zhang, Y. (eds) Web Information Systems Engineering – WISE 2014. WISE 2014. Lecture Notes in Computer Science, vol 8787. Springer, Cham. https://doi.org/10.1007/978-3-319-11746-1_19

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-11746-1_19

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-11745-4

  • Online ISBN: 978-3-319-11746-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics