Distributed Computing Test Load Simulation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Simulating a production environment with limited resources is challenging due to the inability of traditional testing environments to replicate the high demands of user requests and data processing seen in production environments, often resulting in non-representative test results.

Innovation Solution

Utilizing a Hadoop distributed file system (HDFS) to create a distributed computing environment that can generate large-scale testing loads by executing multiple instances of test programs across numerous computing nodes, simulating user behaviors and data access patterns, and providing features like auto-restart and batch processing for comprehensive testing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a production environment is duplicated to provide a testing environment, then test representativeness is improved, but resource requirements increase

Engineering Contradiction:
Improvetest representativenessVSAvoidresource requirements
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent creates a simplified copy of the production environment by distributing test data across multiple computing nodes instead of duplicating the entire production infrastructure. Each node stores a portion of the test data locally, enabling representative testing without requiring proportional resources to the production environment.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent segments the test data storage across multiple computing nodes, with each node holding a specific portion of the distributed file system. This segmentation allows the testing environment to handle large-scale data processing by dividing the workload, reducing the resource burden on any single node while maintaining overall test representativeness.

Inventive Principle:
Principle #1Segmentation

2Productivity

If numerous computing nodes are used to generate large-scale testing loads, then testing capability is improved, but system complexity increases

Engineering Contradiction:
Improvetesting capabilityVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent makes existing computing nodes multi-functional by having them serve both as storage nodes for the distributed file system and as test execution nodes. This eliminates the need for separate infrastructure for data storage and test execution, reducing overall system complexity while maintaining high testing capability through parallel execution across multiple nodes.

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

Solution Approach 2:

The system enables self-service by allowing computing nodes to automatically retrieve test data from the distributed file system and execute test programs independently. The load generator automatically distributes test programs to available nodes, which then self-manage their own test execution and data access, reducing the need for centralized coordination and simplifying system management.

Inventive Principle:
Principle #25Self-service

3Device complexity

If test data is stored on a single testing data server, then system simplicity is maintained, but data access performance deteriorates

Engineering Contradiction:
Improvesystem simplicityVSAvoiddata access performance
Core Design Contradiction:
Device complexityVSSpeed

Solution Approach 1:

The patent segments the test data storage across multiple computing nodes forming a distributed file system, where each node stores a portion of the data locally. This segmentation enables parallel data access from multiple nodes simultaneously, dramatically improving data access performance compared to a single centralized server while maintaining relative system simplicity through the use of standard distributed file system protocols.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10496768B2Simulating a production environment using distributed computing technologies
Publication Date: 2019.12.03 PAYPAL INC
  • US10496768B2 patent drawing
  • US10496768B2 patent drawing
  • US10496768B2 patent drawing

AI summary

Systems and methods for query large database records are disclosed. An example method includes: selecting a user-specified test program for execution; determining one or more testing parameters associated with the user-specified test program; identifying, based on the one or more testing parameters, computing nodes within a distributed computing system; generating, based on the user-specified test program, a first plurality of computing tasks for execution by the computing nodes. The first plurality of computing tasks, when executed, generates a second plurality of computing requests to a server under test. The method also includes distributing execution of the first plurality of computing tasks across the computing nodes; and testing the server under test by causing the first plurality of computing tasks to be executed by the computing nodes.