Dynamic Cache Expiration Adjustment for Database Write Thresholds

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed applications face performance issues due to database thresholds being exceeded during peak usage, leading to malfunctions and impact on multiple storage databases, as write operations overwhelm primary and secondary storage databases.

Innovation Solution

Revising cache expiration dates based on historical trends and attributes of queries to delay write operations, thereby preventing database thresholds from being reached and ensuring high availability by intelligently managing cache refresh times.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If cache expiration dates are set to refresh data frequently, then data availability is improved, but write operations overwhelm the database causing threshold exceedance and malfunctions

Engineering Contradiction:
Improvedata availabilityVSAvoiddatabase write operation capacity
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements dynamic cache expiration date adjustment based on real-time database threshold monitoring. When the database approaches its write operation threshold, the system automatically extends cache expiration dates to reduce write frequency. This dynamic adaptation allows the system to maintain data availability while preventing database overload during peak usage periods.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the cache expiration parameter dynamically based on database load conditions. By monitoring database thresholds and adjusting expiration dates accordingly, the system optimizes the balance between data freshness and write operation volume. This parameter adjustment resolves the contradiction by allowing longer expiration times when database capacity is constrained.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If cache expiration dates are extended to reduce write operations, then database threshold exceedance is prevented, but real-time data availability deteriorates

Engineering Contradiction:
Improvedatabase write operation capacityVSAvoidreal-time data availability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system performs preliminary action by extending cache expiration dates before the database actually reaches its threshold. This proactive approach prevents write operation overload while maintaining acceptable data availability. The system monitors trends and adjusts expiration dates in advance to avoid critical threshold exceedance that would cause malfunctions.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms by continuously monitoring database threshold conditions and adjusting cache expiration dates accordingly. When the database approaches capacity limits, the feedback loop triggers expiration date extensions to reduce write pressure. This closed-loop control ensures the system maintains productivity while adapting to preserve real-time data availability when needed.

Inventive Principle:
Principle #23Feedback

3Reliability

If the system monitors and adjusts cache expiration dates dynamically, then high availability is ensured during peak usage, but system complexity increases

Engineering Contradiction:
Improvehigh availability during peak usageVSAvoidcache expiration management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system implements self-service by automatically monitoring its own database thresholds and adjusting cache expiration dates without external intervention. The cache management system self-regulates based on real-time conditions, eliminating the need for complex external control mechanisms. This autonomous operation ensures high availability during peak usage while keeping the overall system architecture relatively simple.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10783076B1Revising cache expiration
Publication Date: 2020.09.22 UNITED SERVICES AUTOMOBILE ASSOCIATION (USAA)
  • US10783076B1 patent drawing
  • US10783076B1 patent drawing
  • US10783076B1 patent drawing

AI summary

Methods, systems, and computer-readable and executable medium embodiments for revising cache expiration are described herein. One method for revising cache expiration includes tracking attributes of a number of queries of a database; identifying a storage database is outside a database threshold in response to a write operation against the database and based on the tracked attributes; and revising a cache expiration date for at least one query of the number of queries to bring the storage database to within the database threshold.