Database Replication Benchmarking via Pipeline Microservices

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Benchmark testing for database replication applications lacks validation of testing environments and features such as support for RESTful APIs and comparison of different versions or replication features, leading to inaccurate results due to heavy resource utilization.

Innovation Solution

A system and method using a pipeline-based microservices model to collect performance metrics, validate testing environments, and automatically select workload configurations based on replication features, with different error-handling techniques for various pipeline types, enabling accurate benchmark testing of database replication applications.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If benchmark applications execute workloads without validating testing environments, then productivity is improved by skipping validation steps, but measurement precision deteriorates because resource utilization impacts testing accuracy

Engineering Contradiction:
Improvebenchmark testing speedVSAvoidtesting result accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The system performs preliminary validation of the testing environment before executing benchmark workloads. The pipeline control manager checks resource utilization metrics (CPU, memory, I/O) and validates that the environment is suitable for accurate benchmarking, preventing inaccurate results caused by heavy resource utilization during testing

Inventive Principle:
Principle #10Preliminary action

2Device complexity

If a monolithic benchmark application is used, then device complexity is reduced, but adaptability deteriorates because the application lacks support for RESTful APIs and version comparison features

Engineering Contradiction:
Improveapplication structureVSAvoidfeature support
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The benchmark application is divided into independent microservices including a pipeline control manager, workload configuration service, performance metric collection service, and result analysis service. Each microservice handles specific functions, enabling the system to support RESTful APIs, version comparisons, and other features while maintaining manageable complexity through modular architecture

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The microservices architecture enables the system to perform multiple functions: executing benchmark workloads, collecting performance metrics, validating testing environments, comparing different versions of replication applications, and providing RESTful API support. The pipeline control manager can select from multiple workload configurations to test various replication features

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

3Measurement precision

If performance metrics are collected from multiple pipeline stages, then measurement precision is improved by providing detailed metrics, but device complexity increases due to consolidation and display requirements

Engineering Contradiction:
Improveperformance metric detailVSAvoidmetrics consolidation system
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

Performance metrics are collected separately from different pipeline stages (workload configuration, execution, validation) as distinct data streams. Each microservice collects and processes metrics from its specific stage, then the pipeline control manager consolidates these segmented metrics into a unified view for display, managing complexity through organized data collection

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12007866B2System and method for database replication benchmark testing using a pipeline-based microservices model
Publication Date: 2024.06.11 ORACLE INT CORP
  • US12007866B2 patent drawing
  • US12007866B2 patent drawing
  • US12007866B2 patent drawing

AI summary

In accordance with an embodiment, described herein is a system and method for database replication benchmark testing. The system can include one or more microservices configured to collect performance metrics from a testing environment, and a plurality of workload configurations that define different types of pipelines. Each pipeline can be used to execute a workload, and use different techniques to handle errors during the execution of the pipeline. A pipeline control manager can receive a workload configuration, and identify a pipeline defined therein. The pipeline control manager can invoke the one or more microservices to collect performance metrics from the testing environment, and use the collected performance metrics to validate the testing environment before starting the workload. Performance metrics from each pipeline stage can be consolidated and displayed at a user interface. The system can automatically select a workload configuration based on a replication feature to be tested.