Cache Popularity Decay for Media Streaming

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current cache replacement techniques, such as least-recently-used and least-frequently-used, are not suitable for data processing systems that handle large amounts of audio and visual information, as they do not effectively manage block popularity and caching in multi-node media servers.

Innovation Solution

A method that caches blocks based on their popularity, determined by reads from persistent storage and cache, where blocks are cached if they compare favorably to other blocks in the cache, and replaced if their popularity does not, using a decay function to adjust popularity over time, while maintaining persistent popularity tracking across nodes in a multi-node media server.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If least-recently-used or least-frequently-used cache replacement techniques are used, then cache management is simple, but cache performance is poor for media streaming workloads

Engineering Contradiction:
Improvecache performanceVSAvoidcache management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent changes the parameter used for cache replacement from simple temporal recency (LRU) or frequency (LFU) to a popularity metric that combines multiple factors including read frequency, read recency, and decay over time. This parameter transformation enables the system to better predict which blocks will be accessed next in media streaming workloads, resolving the contradiction between simple management and good performance.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The system implements feedback by continuously monitoring block access patterns and updating popularity metrics dynamically. The decay function provides negative feedback that reduces popularity scores over time, while successful accesses provide positive feedback that increases scores. This feedback mechanism allows the cache to adapt to changing media playback patterns, improving productivity while maintaining manageable complexity through automated adjustments.

Inventive Principle:
Principle #23Feedback

2Productivity

If popular blocks are cached based on popularity metrics, then cache hit rate improves, but storage space is consumed by less critical blocks

Engineering Contradiction:
Improvecache hit rateVSAvoidstorage space utilization
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent applies dynamics by making the cache contents dynamic rather than static. The popularity metric continuously evolves based on access patterns and decay over time, allowing the cache to automatically adapt to changing media playback sequences. This dynamic approach ensures that storage space is allocated to blocks that are currently most likely to be needed, improving cache hit rate while efficiently utilizing available storage space.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The decay function operates periodically to reduce popularity scores of cached blocks over time. This periodic action ensures that blocks that have not been accessed recently gradually lose their popularity ranking, allowing less critical blocks to be evicted from cache. This mechanism balances cache hit rate improvement with efficient storage space utilization by periodically refreshing the cache based on current popularity.

Inventive Principle:
Principle #19Periodic action

3Adaptability or versatility

If blocks are replaced based on popularity comparison, then cache content aligns with user demand, but replacement decisions become more complex

Engineering Contradiction:
Improveadaptability to user demandVSAvoidreplacement decision complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system implements self-service by allowing the popularity metric to automatically guide replacement decisions without complex external control. When a block needs to be replaced, the system simply compares popularity scores of candidate blocks and retains the one with the highest score. This self-service approach enables the cache to adapt to user demand while keeping replacement logic relatively simple, as the complexity is encapsulated in the popularity calculation rather than the replacement decision itself.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8166248B2Caching of information according to popularity
Publication Date: 2012.04.24 ARRIS ENTERPRISES LLC
  • US8166248B2 patent drawing
  • US8166248B2 patent drawing
  • US8166248B2 patent drawing

AI summary

A system includes logic to cache at least one block in at least one cache if the block has a popularity that compares favorably to the popularity of other blocks in the cache, where the popularity of the block is determined by reads of the block from persistent storage and reads of the block from the cache.