Shadow Proxy Service for Production System Cache Warm-up

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems experience delays due to the lack of cached data when an off-line machine is brought online, as they need to load and convert data, which affects customer satisfaction and system performance.

Innovation Solution

Implementing a shadow proxy service that replays intercepted requests to a production system to 'warm-up' the cache and convert system data into a native, usable form, optimizing caching and reducing delays by pre-loading and transforming data before it's needed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If an off-line machine is brought online without pre-loading data, then the system can start operation quickly, but processing delays occur due to lack of cached data

Engineering Contradiction:
Improverequest processing speedVSAvoiddata loading time
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The shadow proxy service performs preliminary actions by replaying intercepted requests to the production system before the system needs to handle actual traffic. This pre-warmes the cache with frequently accessed data, so when the production system goes live, data is already cached and ready for immediate processing, eliminating startup delays

Inventive Principle:
Principle #10Preliminary action

2Productivity

If data is loaded and converted by the production system, then the data is in the correct native form for processing, but conversion delays occur

Engineering Contradiction:
Improvesystem throughputVSAvoiddata conversion time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The shadow proxy service acts as an intermediary that performs data conversion before the production system needs it. By replaying requests and converting data in advance through the shadow system, the production system receives pre-converted data in the correct native form, eliminating conversion delays during actual operation

Inventive Principle:
Principle #24Intermediary (Mediator)

3Speed

If the cache is empty when the system starts, then memory resources are preserved, but request processing is slower due to cache misses

Engineering Contradiction:
Improverequest processing speedVSAvoidmemory usage
Core Design Contradiction:
SpeedVSUse of energy by moving object

Solution Approach 1:

The system performs preliminary caching actions by replaying requests to the production system before live operation. This pre-populates the cache with frequently accessed data, ensuring that when the system handles actual traffic, data is already in cache memory, providing fast access without excessive memory consumption during normal operation

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10182128B1Optimization of production systems
Publication Date: 2019.01.15 AMAZON TECH INC
  • US10182128B1 patent drawing
  • US10182128B1 patent drawing
  • US10182128B1 patent drawing

AI summary

The techniques described herein provide software testing of a candidate version of software. In some examples, an interceptor may perform an asynchronous and non-blocking intercept of at least one request to a production system and may provide the intercepted at least one request to a shadow proxy service as at least one shadow request. The shadow proxy service may process the shadow request by causing the at least one shadow request to be classified based at least one criteria. The processed shadow requests are logged. A selection may be made from among the logged shadow request to be replayed by the production system based on one or more criteria used to classify the shadow requests. The shadow proxy service may replay the selected at least one logged shadow request to the production system.