Caching Service Timestamp Failover and Consistency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional systems for processing web-based service requests often fail to handle failures gracefully, leading to service errors and a lack of scalability, fault tolerance, and efficient data management.

Innovation Solution

A caching service platform that provides fault-tolerant, scalable, and efficient web service request processing across multiple distributed computer systems, supporting various service call types and configurations, including active/active and active/standby modes, with features like data replication, timestamp management, and secure authentication.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional systems process web-based service requests without caching, then system complexity is low, but reliability and fault tolerance deteriorate due to lack of failover mechanisms

Engineering Contradiction:
Improvefault toleranceVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system performs preliminary actions by pre-configuring backup caching service entities and establishing failover mechanisms before failures occur. The active/standby and active/active configurations are set up in advance, with timestamp-based expiration checks prepared to detect and respond to failures automatically, thus improving reliability without requiring complex real-time decision-making during failures.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention creates copy entities (backup caching service entities) that replicate the functionality of the primary caching service. These copies maintain synchronized data through timestamp comparisons and can take over when the primary entity fails. This copying approach provides fault tolerance through redundancy while keeping each individual entity relatively simple in structure.

Inventive Principle:
Principle #26Copying

2Stability of the object's composition

If timestamp information is synchronized between multiple data centers for every update, then data consistency is improved, but network traffic increases excessively

Engineering Contradiction:
Improvedata consistencyVSAvoidnetwork traffic
Core Design Contradiction:
Stability of the object's compositionVSLoss of energy

Solution Approach 1:

Instead of synchronizing timestamp information for every single update operation, the system performs partial synchronization only when necessary. The expiration check process compares timestamps periodically to determine if data needs updating, rather than continuously synchronizing all timestamp changes. This partial action approach maintains data consistency while significantly reducing network traffic compared to full synchronization of every update.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The timestamp serves as an intermediary mechanism that indirectly indicates data state without requiring direct data synchronization. By comparing timestamps rather than synchronizing actual data content, the system achieves data consistency verification with minimal network overhead. The timestamp acts as a lightweight mediator that proves data state without transferring the data itself.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If a single caching service entity handles all requests, then system complexity is low, but adaptability and scalability deteriorate

Engineering Contradiction:
ImprovescalabilityVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The caching service is segmented into multiple independent entities (active and standby caching service entities) that can operate autonomously. Each entity maintains its own data cache and can handle requests independently. This segmentation enables scalability by allowing individual entities to be added, removed, or scaled independently while maintaining overall system functionality through the failover mechanism.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The caching service entities are designed with universal functionality where both active and standby entities can perform the same caching operations. The standby entity is not merely a passive backup but a fully functional caching service that can immediately take over when the active entity fails. This multi-functionality provides adaptability to different operational modes (active/standby, active/active) while maintaining a consistent underlying architecture.

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

4Speed

If web service requests are not cached, then data freshness is maintained, but service response time and performance deteriorate

Engineering Contradiction:
Improveservice response timeVSAvoiddata freshness
Core Design Contradiction:
SpeedVSLoss of information

Solution Approach 1:

The system implements periodic expiration checks using timestamp comparisons to verify data freshness. Instead of continuously checking or never checking, the system periodically evaluates whether cached data has expired by comparing timestamps. This periodic action allows the caching service to maintain fast response times for valid cached data while ensuring data freshness through regular validation, resolving the contradiction between speed and information freshness.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS9336265B2System and method for processing web service transactions using timestamp data
Publication Date: 2016.05.10 WALMART APOLLO LLC

AI summary

A system is provided that is adapted to service web-based service requests. In one implementation, a caching service is provided for storing and servicing web service requests. In one implementation, virtual computer systems may be used to service requests in a more reliable manner. Different operating modes may be configured for backup redundancy and the caching service may be scaled to meet service requests for a particular application. Also, methods are provided for exchanging timestamp information among web service transaction systems to reduce the amount of processing capability and bandwidth for ensuring database consistency.