Machine-Learning Cacheable Query Prediction for Lower Latency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Heterogeneous computing systems face challenges in efficiently processing data queries due to computational expenses, latency, and network congestion, leading to reduced throughput and increased latency in data retrieval.

Innovation Solution

Implementing a machine learning model to predict cacheable queries based on current and previous queries, using identifiers and key-value pairs to generate predicted requests, cache associated data, and remove cache entries after a threshold time, thereby reducing latency and bandwidth consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data is retrieved from remote computing systems, then data availability is improved, but latency and network congestion increase

Engineering Contradiction:
Improvedata availabilityVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by predicting future queries using machine learning models and pre-caching the corresponding data before the actual queries are executed. This allows data to be available locally in the cache store when needed, eliminating retrieval latency and network congestion while ensuring data availability.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If multiple synchronous requests are performed for data retrieval, then data completeness is improved, but system throughput decreases

Engineering Contradiction:
Improvedata completenessVSAvoidsystem throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system predicts multiple future queries in advance and pre-caches their corresponding data simultaneously, ensuring data completeness is achieved through comprehensive pre-retrieval. This eliminates the need for multiple synchronous requests during actual query execution, thereby maintaining high system throughput.

Inventive Principle:
Principle #10Preliminary action

3Speed

If cache size is increased to reduce latency, then data retrieval speed is improved, but memory consumption increases

Engineering Contradiction:
Improvedata retrieval speedVSAvoidmemory consumption
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The system dynamically changes the parameter of cache content by using machine learning models to predict which specific data will be queried and pre-caching only that data. This selective pre-caching approach optimizes cache utilization, improving data retrieval speed while minimizing memory consumption by storing only the most relevant predicted data.

Inventive Principle:
Principle #35Parameter changes

4Loss of time

If predictive modeling is implemented to reduce cache misses, then query response time is improved, but computational overhead increases

Engineering Contradiction:
Improvequery response timeVSAvoidcomputational overhead
Core Design Contradiction:
Loss of timeVSUse of energy by moving object

Solution Approach 1:

The system applies partial predictive action by using machine learning models to predict only the most likely future queries and pre-caching data for those specific predictions. This selective approach reduces query response time for predicted queries while minimizing computational overhead by avoiding exhaustive prediction and caching of all possible queries.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20250315431A1Prediction of cacheable queries
Publication Date: 2025.10.09 ADP INC
  • US20250315431A1 patent drawing
  • US20250315431A1 patent drawing
  • US20250315431A1 patent drawing

AI summary

Predicting cacheable queries is provided. For example, a system can one or more processors, coupled with memory, to generate a plurality of predicted requests based on one or more requests received from a client device. The system can compute a metric associated with retrieving data for a respective predicted request from a database. The system can select a subset of predicted requests from the plurality of predicted requests based on the metric corresponding to each predicted request and a threshold metric. The system can generate labels classifying the subset of predicted requests. The system can store, using the labels, data from the database for the subset of predicted requests in a cache store. The system can transmit, responsive to receiving a client request matching a predicted request of the subset of predicted requests, corresponding data from the cache store.