Canary Cluster Chaos Experiments Using Minimum Production Traffic

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Chaos engineering experiments in production environments affect user experience and lack sufficient observability in testing environments, making it difficult to accurately assess disaster tolerance and system stability.

Innovation Solution

Conduct chaos engineering experiments in a canary cluster within a production environment by adjusting service request traffic to the minimum required for observability, using a canary cluster formed by servers for service upgrades, to minimize user impact and ensure accurate disaster tolerance assessment.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If chaos engineering experiment is executed in production environment, then disaster tolerance capability can be realistically and accurately detected, but user experience is seriously affected

Engineering Contradiction:
Improvedisaster tolerance detection accuracyVSAvoiduser experience impact
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The system segments the service cluster into a canary cluster and a non-canary cluster. The canary cluster is specifically designated for chaos engineering experiments, while the non-canary cluster continues to serve users normally. This segmentation allows experiments to be conducted in isolation, achieving accurate disaster tolerance detection without affecting overall user experience.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The canary cluster acts as an intermediary between the production environment and the experiment. By routing a portion of service requests to the canary cluster, the system creates a buffer zone where experiments can be performed with controlled traffic, preventing direct impact on user experience while maintaining measurement validity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Object-affected harmful factors

If chaos engineering experiment is executed in testing environment, then user experience is not affected, but observability and coverage are insufficient

Engineering Contradiction:
Improveuser experience impactVSAvoidexperiment observability
Core Design Contradiction:
Object-affected harmful factorsVSMeasurement precision

Solution Approach 1:

The canary cluster serves as an intermediary environment that bridges the gap between testing and production environments. It provides real production traffic and system conditions for high observability, while being isolated enough to protect user experience. The canary cluster receives a controlled portion of production traffic, enabling realistic experiment observation without full production exposure.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If service request traffic for canary cluster is increased to meet observability requirements, then experiment coverage is improved, but user experience impact increases

Engineering Contradiction:
Improveexperiment observabilityVSAvoiduser experience impact
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The system applies partial action by routing only a portion (e.g., 5%-20%) of production service requests to the canary cluster. This partial traffic allocation provides sufficient observability and experiment coverage while limiting the impact on user experience. The exact proportion is optimized to meet minimum experimental traffic requirements without excessive user impact.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12438955B2Chaos engineering experimentation method for system, device and storage medium
Publication Date: 2025.10.07 BEIJING ZITIAO NETWORK TECH CO LTD
  • US12438955B2 patent drawing
  • US12438955B2 patent drawing
  • US12438955B2 patent drawing

AI summary

A chaos engineering experimentation method for a system, a device and a storage medium. Minimum experimental traffic of a service request required by a chaos engineering experiment is determined as target service request traffic; service request traffic is adjusted for a canary cluster in a to-be-tested server cluster according to the target service request traffic, where the canary cluster is a cluster formed by servers in the to-be-tested server cluster, the servers being used for canary release when a service is upgraded; an experimental task of the chaos engineering experiment is executed in the canary cluster, and an experimental result is outputted. The chaos engineering experiment is conducted on the canary cluster, and the service request traffic of the canary cluster is adjusted to the minimum experimental traffic of the service request required by the chaos engineering experiment.