Skip to main content
QUICK REVIEW

[Paper Review] Understanding Application-Level Caching in Web Applications: A Comprehensive Introduction and Survey of State-of-the-Art Approaches

Jhonny Mertz, Ingrid Nunes|arXiv (Cornell University)|Nov 22, 2017
Caching and Content DeliveryComputer Science80 references8 citations
TL;DR

This paper presents a comprehensive survey of application-level caching in web applications, focusing on techniques that improve performance and scalability by storing processed content in memory. It covers both static and adaptive caching strategies, offering guidance for developers and researchers to design effective, self-optimizing caching solutions with minimal manual intervention.

ABSTRACT

A new form of caching, namely application-level caching, has been recently employed in web applications to improve their performance and increase scalability. It consists of the insertion of caching logic into the application base code to temporarily store processed content in memory and then decrease the response time of web requests by reusing this content. However, caching at this level demands knowledge of the domain and application specificities to achieve caching benefits, given that this information supports decisions such as what and when to cache content. Developers thus must manually manage the cache, possibly with the help of existing libraries and frameworks. Given the increasing popularity of application-level caching, we thus provide a survey of approaches proposed in this context. We provide a comprehensive introduction to web caching and application-level caching, and present state-of-the-art work on designing, implementing, and managing application-level caching. Our focus is not only on static solutions but also approaches that adaptively adjust caching solutions to avoid the gradual performance decay that caching can suffer over time. This survey can be used as a start point for researchers and developers, who aim to improve application-level caching or need guidance in designing application-level caching solutions, possibly with humans out-of-the-loop.

Motivation & Objective

  • To provide a foundational understanding of web caching and the role of application-level caching in enhancing web application performance.
  • To identify the challenges in manually managing application-level caches due to application-specific logic and domain dependencies.
  • To survey both static and adaptive caching approaches that dynamically adjust to prevent performance degradation over time.
  • To serve as a reference for researchers and developers aiming to implement or improve application-level caching solutions.

Proposed method

  • Categorizing and analyzing existing application-level caching approaches based on their design and runtime behavior.
  • Examining static caching techniques that rely on pre-defined rules for content storage and retrieval.
  • Investigating adaptive caching mechanisms that monitor workload and system state to adjust caching policies dynamically.
  • Evaluating the use of libraries and frameworks that assist developers in integrating caching logic into application code.
  • Highlighting techniques that reduce cache invalidation overhead and improve cache hit rates through intelligent content selection.
  • Emphasizing the importance of application-specific knowledge in designing effective caching strategies.

Experimental results

Research questions

  • RQ1What are the key differences between traditional web caching and application-level caching in terms of implementation and performance impact?
  • RQ2How do static caching approaches in web applications handle content selection and invalidation, and what are their limitations?
  • RQ3What adaptive strategies exist to mitigate performance decay in application-level caching over time?
  • RQ4How can developers effectively integrate caching logic into application code with minimal manual overhead?
  • RQ5What role do modern frameworks and libraries play in enabling scalable and maintainable application-level caching?

Key findings

  • Application-level caching significantly improves response time by reusing pre-processed content stored in memory.
  • Manual cache management requires deep application-specific knowledge, increasing development complexity and maintenance overhead.
  • Adaptive caching approaches help counter performance degradation by dynamically adjusting to changing access patterns and data volatility.
  • The integration of caching logic into application code enables fine-grained control over what is cached and when.
  • Existing frameworks and libraries reduce the burden of implementing caching but still require careful design to avoid cache inconsistency.
  • The survey identifies a growing trend toward self-tuning and automated caching strategies to enhance scalability and maintainability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.