Serverless Function Testing with Dedicated Event Streams

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Testing tasks in a cloud serverless framework consumes shared data streams, causing slowdowns, interruptions, and loss of data due to resource consumption, leading to inaccurate results and impacting continuous integration and deployment processes.

Innovation Solution

A testing device generates and provides configured test data to a dedicated stream, simulating the data type and event type used by the serverless function, allowing tests to be performed without affecting the shared stream, thus improving accuracy and conserving resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If test data is obtained from a shared data stream for testing serverless functions, then testing can be performed, but the shared stream experiences slowdowns, interruptions, and data loss due to resource consumption

Engineering Contradiction:
Improvetesting accuracyVSAvoiddata stream performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the data stream into two separate streams: a shared stream for production data and a dedicated stream for test data. This segmentation allows testing operations to be isolated from production operations, preventing resource contention. The dedicated stream is specifically allocated for testing serverless functions while the shared stream maintains its production workload without interference.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a dedicated data stream as an intermediary between the testing process and the shared production stream. This intermediary dedicated stream absorbs the resource demands of testing operations, protecting the shared stream from slowdowns and interruptions. The dedicated stream acts as a buffer that mediates the conflict between testing needs and production performance.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If a dedicated stream is used for testing, then the shared stream performance is preserved, but additional stream management complexity is introduced

Engineering Contradiction:
Improvedata stream performanceVSAvoidstream management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent creates a dedicated data stream that serves multiple functions: it provides test data to testing processes, isolates testing resource consumption from production operations, and maintains data flow continuity for serverless function testing. This multi-functional dedicated stream reduces the need for complex coordination mechanisms between separate testing and production streams.

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

3Reliability

If test data consumes shared stream resources, then testing can proceed, but continuous integration and deployment processes are impacted

Engineering Contradiction:
Improvetesting capabilityVSAvoidCI/CD process time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

By segmenting the data infrastructure into dedicated test streams and shared production streams, the patent enables parallel operation of testing and continuous integration/deployment processes. Testing operations draw from the dedicated stream without blocking or slowing down the shared stream, allowing CI/CD pipelines to proceed uninterrupted while tests execute simultaneously.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20260037413A1Testing for tasks associated with a cloud computing serverless function
Publication Date: 2026.02.05 CAPITAL ONE SERVICES LLC
  • US20260037413A1 patent drawing
  • US20260037413A1 patent drawing
  • US20260037413A1 patent drawing

AI summary

In some implementations, a device may generate test data associated with the task that is configured to be performed by a serverless function in a cloud computing environment, where the test data simulates task data associated with a stream of data that is used by the serverless function to perform the task. The device may configure the test data with one or more configuration parameters that are based on an event type associated with an event that is associated with the test, or a data type of data associated with the task. The device may provide, to another stream of data, the test data configured with the one or more configuration parameters. The device may cause, based on providing the test data, the test to be performed based on one or more actions performed by the serverless function using the test data.