Ghost Deployment for Cloud Database Query Testing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional data platforms face challenges in feature testing software due to limited version compatibility, which restricts when and how new features can be tested, and there is a risk of corrupting user data during testing, leading to performance degradation and resource inefficiencies.

Innovation Solution

A ghost deployment is created within an execution platform that isolates computing resources for feature testing, allowing software applications to be tested without writing to or being visible to production deployments, ensuring data integrity and enabling flexible testing schedules.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If feature testing is performed on production deployments, then testing can be done with real data, but there is a risk of corrupting user data and causing performance degradation

Engineering Contradiction:
Improvedata integrityVSAvoidtesting capability
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system segments the deployment environment into production deployments and ghost deployments. Ghost deployments are isolated test environments that replicate production structures but operate independently. This segmentation allows testing to occur in isolated environments without affecting production data integrity, while still enabling comprehensive feature testing with replicated production workloads.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Ghost deployments act as intermediary environments between development and production. They provide a safe middle ground where features can be tested with production-like data and workloads without directly impacting production systems. The ghost deployments mediate the testing process by absorbing test operations that would otherwise corrupt production data.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Stability of the object's composition

If version compatibility is restricted in data platforms, then system stability is maintained, but testing flexibility and speed are reduced

Engineering Contradiction:
Improveversion compatibilityVSAvoidtesting time
Core Design Contradiction:
Stability of the object's compositionVSLoss of time

Solution Approach 1:

The system segments version testing across multiple ghost deployments, allowing different software versions to be tested in parallel isolated environments. Each ghost deployment can run different versions without compatibility conflicts, enabling simultaneous testing of multiple versions against production workloads without compromising overall system stability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary version compatibility testing in ghost deployments before deploying to production. By pre-testing version changes in isolated ghost environments with production-like data, the system validates version compatibility beforehand, preventing instability issues from reaching production and reducing the need for corrective testing later.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If multiple software versions are tested simultaneously, then testing efficiency increases, but resource conflicts and system instability may occur

Engineering Contradiction:
Improvetesting efficiencyVSAvoidsystem stability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system segments multiple test versions into separate ghost deployments, allowing simultaneous testing of multiple software versions without resource conflicts. Each ghost deployment operates as an isolated environment with its own resource allocation, enabling parallel version testing while preventing interference between test cases and maintaining overall system stability.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250110718A1Isolated testing platform for cloud database production queries
Publication Date: 2025.04.03 SNOWFLAKE INC
  • US20250110718A1 patent drawing
  • US20250110718A1 patent drawing
  • US20250110718A1 patent drawing

AI summary

A system and method of isolated testing platform for cloud database production queries. The method includes providing an execution platform including a production deployment to receive a first group of queries from a first group of user devices. The production deployment includes a local data storage to store a first dataset associated with the first group of user devices and an execution node to process the first group of queries based on a first version of an application and based on the user data. The method includes receiving a request to test a second version of the application based on the first version of the application. The method includes deploying a ghost deployment onto the execution platform. The method includes replaying the first group of queries on the ghost deployment using copies of the first version of the application and the second version of the application.