Cache Key Composition for Fragmented Content Delivery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current cache-key generation methods lead to cache fragmentation and increased cache misses for less popular device variations, resulting in delayed and ineffective content delivery, which negatively impacts user experience and increases costs.

Innovation Solution

A computer-implemented method for just-in-time cache key composition creation and distribution, where user traits such as geographic location, software, and device type are used to dynamically generate and optimize content variations, allowing for a single response to be tailored for each user, and enabling multiple layers of caching with passive contracts to accommodate variations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If cache-key is created for each user request with multiple user attributes (browser kind, device type, geography, etc.), then content delivery is optimized for each user, but cache fragmentation increases and cache hit rates decrease

Engineering Contradiction:
Improvecontent delivery optimizationVSAvoidcache hit rate
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent segments user attributes into different priority levels (primary vs. secondary attributes). Primary attributes like device type and geography that significantly impact content delivery are used to create cache keys, while less critical attributes are excluded. This segmentation reduces cache fragmentation while maintaining effective content optimization for different user groups.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a universal cache key structure that can serve multiple user types with similar characteristics. Instead of creating unique cache keys for every possible combination of user attributes, the system designs cache keys that represent groups of users with comparable content delivery needs, allowing a single cached response to serve multiple users effectively.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Reliability

If multiple cache layers are created to offset re-generation, then content availability is improved, but popularity-based LRU caching pushes less popular content out, diminishing effectiveness for less-popular device variations

Engineering Contradiction:
Improvecontent availabilityVSAvoideffectiveness for less-popular variations
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent applies different caching strategies to different cache layers based on their specific functions. The first cache layer (edge cache) is optimized for high-speed delivery of popular content, while the second cache layer (origin cache) is designed to handle less popular variations and regenerate content when needed. Each cache layer has tailored retention policies that match its role in the content delivery system.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system pre-loads and caches content for less popular device variations in the origin cache before they are requested, based on predictive analytics of potential user needs. This preliminary action ensures that when users with less popular device types access the system, their content is already available in the cache rather than requiring regeneration at the moment of request.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If pre-generation is used to pre-populate caches with all variations, then cache hit rates improve, but computation costs and time delays for generating all permutations increase

Engineering Contradiction:
Improvecache hit rateVSAvoidcomputation time for generating variations
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent implements partial pre-generation by selectively caching only the most critical and frequently accessed content variations in the edge cache, while leaving less critical variations to be generated on-demand or cached in the origin layer. This partial action approach achieves sufficient cache hit rates for high-priority content without incurring the excessive computation costs of generating all possible content permutations.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS11509740B2Systems and method for cache key composition creation and distribution
Publication Date: 2022.11.22 CLOUDINARY LTD
  • US11509740B2 patent drawing
  • US11509740B2 patent drawing
  • US11509740B2 patent drawing

AI summary

There is disclosed herein computer implemented methods of cache key generation including receiving from a user a request for content; wherein the request comprises one or more of opening a browser software tab or window, launching a software application, activating a hyperlink; wherein the request causes an electronic communications network connection to be established and/or an HTTP request made; and wherein, the surrogate passes the request to an origin.