NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Data-Mining-Based Prefetching Approach to Caching for Network Storage Systems

Xiao Fang, Olivia R. Liu Sheng, Wei Gao, Balakrishna R. IyerINFORMS 2006

TL;DR

This paper introduces NetShark, an Internet-based network storage system, and proposes a novel data-mining-based prefetching approach to improve caching performance. By analyzing user access patterns, NetShark intelligently predicts and prefetches data, significantly reducing client-perceived latency and improving overall system efficiency compared to traditional caching methods.

What Problem Does This Paper Address?

The increasing reliance on network storage, driven by the internet's widespread use and the growing size of applications and databases, has created significant challenges. These include a massive increase in stored data, a higher number of concurrent users, and a greater volume of data transfer. This leads to performance bottlenecks, particularly in Wide Area Network (WAN) based systems, where network traffic, rather than server load, becomes the primary limiting factor. Existing solutions like adding more servers are expensive, and simple caching strategies often fall short. The authors aim to address this by developing a more intelligent and efficient caching mechanism that proactively fetches data likely to be needed, thereby minimizing latency and optimizing network resource utilization.

Methods

The core of the paper's contribution lies in its data-mining-based prefetching approach. This approach is built upon two key algorithms:

  • Offline Learning: This algorithm analyzes historical client request data stored in a Log-DB. It identifies patterns in user behavior, categorizing them into two types:
  • Intra-session patterns: These capture sequential access patterns within a single user session.
  • Inter-session patterns: These reveal how users access data across different sessions. This pattern discovery is achieved using sequential pattern mining techniques.

  • Online Caching: This algorithm uses the patterns learned offline to make real-time caching decisions. It addresses the network traffic increase problem associated with prefetching by dividing predicted related storage objects into two categories:

  • Urgent: Objects predicted to be needed very soon are cached immediately.
  • Wait: Objects with a lower predicted urgency are cached only when network traffic is low, as determined by a user-defined threshold. The decision to place an object in the urgent or wait queue is based on a "slack value," which considers the predicted time interval for access and the estimated transfer time.

The paper also details the NetShark system architecture, which is a three-layered system (presentation, application, and storage) designed for internet accessibility. They also developed a Network Storage Caching (NSC) simulator to evaluate their approach. This simulator is event-driven and allows for flexible parameter manipulation, unlike trace-driven simulators.

Datasets

The primary data source for training and evaluation is the Log-DB generated by the NetShark system. This database records critical information about client requests, including ClientID, SessionID, FileName, and RequestTime. The paper also mentions using FTP logs to calculate mean session and request interarrival times for simulation parameters.

Key Insights and Ideas

  • Session-centric pattern mining is crucial: Unlike previous approaches that used arbitrary look-ahead windows, this paper emphasizes using entire user sessions as the fundamental unit for discovering request patterns. This provides a more natural and effective way to understand user behavior.
  • Balancing prefetching with network traffic: A significant challenge in prefetching is the potential to increase network traffic. The paper's novel approach of categorizing predicted objects into "urgent" and "wait" queues, and caching "wait" objects during low-traffic periods, directly addresses this issue.
  • Data mining for predictive caching is superior: The results strongly suggest that leveraging data mining to understand complex access patterns and correlations leads to more effective prefetching than simpler methods like popularity-based prediction.
  • The importance of slack value: The introduction of a "slack value" to prioritize caching decisions based on urgency and network conditions is a key mechanism for optimizing performance.

Key Results

The simulation results demonstrate the effectiveness of the data-mining-based prefetching approach:

  • Hit Rate: Compared to "caching on demand," the data-mining-based prefetching approach increased the hit rate by an average of 32.8%. This is significantly higher than the popularity-based prefetching approach, which achieved an average increase of 21.8%.
  • Client Perceived Latency: The data-mining-based approach reduced client perceived latency by an average of 7.7%, outperforming the popularity-based approach (5.1% reduction) and caching on demand.
  • Network Traffic (Shark-Shark Response Time Increase): While prefetching inherently increases network traffic, the data-mining approach showed a more modest increase in Shark-Shark response time (average of 1.13%) compared to the popularity-based approach (average of 2.3%). This highlights the effectiveness of their strategy for managing network load.

Limitations and Future Work

The authors acknowledge several areas for future work:

  • Real-world application evaluation: While simulations are valuable, they plan to evaluate the proposed caching approach using real-world applications like the Knowledge Management System mentioned in Section 2.
  • Dynamic pattern refreshing: As NetShark operates continuously, the Log-DB accumulates data. The learned intra/inter-session patterns need to be refreshed. The authors plan to design an efficient pattern refreshing algorithm to address the trade-off between refreshing too often (costly) and too seldom (missing critical patterns).
  • Incorporating structural relationships: They intend to extend the approach by incorporating structural relationships between storage objects, such as objects within the same directory.
  • Analytical modeling: The authors propose developing an analytical model based on queuing theory to mathematically analyze the performance of different caching approaches.

Summary updated

BibTeX
@inproceedings{fang2006data,
  author = {Xiao Fang and Olivia R. Liu Sheng and Wei Gao and Balakrishna R. Iyer},
  title = {{A Data-Mining-Based Prefetching Approach to Caching for Network Storage Systems}},
  booktitle = {INFORMS},
  year = {2006},
  doi = {10.1287/ijoc.1050.0142},
}
Figure