Predictive Memory Data Loading for Cloud Latency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Cloud computing systems face challenges in efficiently managing customer data in memory, leading to increased latency and resource inefficiencies due to unpredictable usage patterns, which can hinder the ability to host multiple customers concurrently while meeting service level agreements.

Innovation Solution

Implementing predictive loading and unloading of customer data in memory using prediction logic that analyzes historical usage data to determine when to load or unload data sets based on usage patterns, optimizing resource allocation by moving data to long-term storage when not in use and reloading it before expected access, thereby minimizing latency and improving resource utilization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If customer data is kept in memory to reduce query latency, then query response speed is improved, but memory resource consumption increases and fewer customers can be hosted concurrently

Engineering Contradiction:
Improvequery response speedVSAvoidmemory resource consumption
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The system performs preliminary actions by predicting future customer data access patterns using historical usage data and machine learning models. Data sets are loaded into memory in advance of actual customer requests based on these predictions, ensuring fast query response when customers do access the data while avoiding continuous memory allocation for all possible data sets

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system dynamically changes memory allocation parameters based on predicted demand. Instead of static memory allocation, the system adjusts which data sets reside in memory versus long-term storage based on real-time predictions of customer access patterns, optimizing the balance between query speed and memory consumption

Inventive Principle:
Principle #35Parameter changes

2Quantity of substance

If data is unloaded from memory to long-term storage to free resources, then resource availability for other customers is improved, but query latency increases when data needs to be reloaded

Engineering Contradiction:
Improveavailable memory resourcesVSAvoidquery latency
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The system performs preliminary loading of data sets into memory based on predicted customer access patterns. By analyzing historical usage data and generating predictions about which data sets will be accessed soon, the system proactively loads these data sets into memory before actual customer requests occur, thus eliminating query latency when the data is needed while still freeing resources for other uses

Inventive Principle:
Principle #10Preliminary action

3Productivity

If memory is allocated to host more customers concurrently, then service capacity increases, but memory resources are wasted on unused data sets

Engineering Contradiction:
Improveservice capacityVSAvoidmemory resource waste
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The system implements self-service through automated machine learning models that continuously analyze customer usage patterns and autonomously make decisions about which data sets to load into memory and which to unload to long-term storage. This eliminates the need for manual memory management and ensures resources are dynamically allocated to actually used data sets, preventing waste while maximizing service capacity

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system uses feedback from historical customer usage data to continuously improve its predictions and memory allocation decisions. By monitoring actual access patterns and comparing them to predictions, the system refines its machine learning models to better predict which data sets should be in memory, optimizing the balance between service capacity and resource utilization

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11860942B1Predictive loading and unloading of customer data in memory
Publication Date: 2024.01.02 AMAZON TECH INC
  • US11860942B1 patent drawing
  • US11860942B1 patent drawing
  • US11860942B1 patent drawing

AI summary

Prediction logic analyzes previous data usage activities of a customer process running on a host machine to generate a first prediction indicating that the customer process will request a first data set at a first time. The prediction logic retrieves the first data set from long-term storage and loads the first data set into memory on the host machine in advance of the first time in order to provide the customer process with access to first data set in the memory during a period between the first time and a second time. The prediction logic further generates a second prediction indicating that the customer process will not access the first data set for a threshold period of time after the second time and stores the first data set in the long-term storage at the second time.