Live Cloud Service Testing via Traffic Mirroring

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The complexity of cloud computing environments makes it difficult to test new services and functions without interrupting current services, due to differences between test environments and production environments, and the need to simulate various traffic patterns and configurations.

Innovation Solution

The method involves live testing in a production environment by identifying and executing components, instantiating test configuration components, and testing paths to ensure thorough testing without disrupting normal operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If testing is performed in a dedicated test environment, then testing can be conducted without interrupting production services, but the test environment cannot fully replicate production traffic patterns and configurations

Engineering Contradiction:
Improveservice continuityVSAvoidtesting accuracy
Core Design Contradiction:
ReliabilityVSMeasurement precision

Solution Approach 1:

The patent introduces a traffic mirroring mechanism that creates a copy of production traffic and redirects it to test instances. This intermediary approach allows testing to occur in parallel with production operations, maintaining service continuity while exposing tests to real production traffic patterns and configurations.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent creates test instances that are copies of production instances and uses traffic mirroring to replicate production traffic. This copying mechanism enables tests to run in a dedicated environment while still being exposed to authentic production workloads, thereby improving testing accuracy without compromising service continuity.

Inventive Principle:
Principle #26Copying

2Measurement precision

If testing is performed directly in the production environment, then real production traffic patterns can be tested, but current services may be interrupted

Engineering Contradiction:
Improvetesting accuracyVSAvoidservice continuity
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent segments the system into production instances and test instances, with traffic routing that directs production traffic to production instances and mirrored test traffic to test instances. This segmentation allows both production services and testing to operate simultaneously without interference, maintaining service continuity while enabling accurate production-like testing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The traffic mirroring mechanism acts as an intermediary that creates a parallel testing pathway. By mirroring traffic rather than directly injecting test traffic into production, the system can test production behavior without disrupting actual production operations, thus maintaining both testing accuracy and service continuity.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If multiple test instances are created for comprehensive path testing, then thorough testing can be achieved, but resource consumption increases

Engineering Contradiction:
Improvetesting coverageVSAvoidresource consumption
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent implements dynamic instance management where test instances are created, activated, and deactivated based on testing needs. Instances can be dynamically allocated to specific test paths and deactivated after testing, allowing comprehensive testing coverage while optimizing resource utilization by not maintaining all instances continuously.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent creates multiple test instances to cover all possible execution paths, which may exceed the minimum needed for basic testing. This excessive action ensures complete path coverage and thorough testing, accepting increased resource consumption as necessary to achieve comprehensive testing in complex distributed systems.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12287724B2Methods for live testing of services in a cloud computing environment
Publication Date: 2025.04.29 TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
  • US12287724B2 patent drawing
  • US12287724B2 patent drawing
  • US12287724B2 patent drawing

AI summary

A set of test methods for performing a live test of service in a production environment, where the service is provided by a set of configured instances in the production environment and each configured instance is composed of a set of components. The methods including a method that includes instantiating components under test from the set of components to setup paths that are to be taken by test traffic, instantiating test configuration components for the service, executing a test case on a created path, generating a snapshot of a first serving component from the set of components, replacing a tested component under test with a second serving component cloned from the snapshot, relocating the service to the second serving component, replacing the serving component of the snapshot with a new component under test to create a new path to be tested, and determining whether all paths have been tested.