Reactive Multi-Part MIME Parsing in Microservices

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Microservice environments face challenges in efficiently parsing multi-part MIME data due to performance issues related to thread execution and state transitions, leading to potential backpressure and resource management problems in reactive computing environments.

Innovation Solution

A system and method for reactive multi-part parsing that uses a multi-part publisher and subscriber model to abstract execution away from thread dependencies, ensuring rigorous coordination of state transitions and resource management, particularly in cloud computing environments, by employing a multi-part decoder to handle MIME data in a reactive and asynchronous manner.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional thread-based execution is used for parsing multi-part MIME data, then sequential processing is simple to implement, but performance deteriorates due to thread dependencies and state transition coordination overhead

Engineering Contradiction:
Improveparsing performanceVSAvoidthread coordination complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent replaces the mechanical thread-based execution model with an event-driven reactive programming model. Instead of using threads to coordinate state transitions, the system uses reactive streams and event publishers/subscribers to process multi-part MIME data asynchronously, eliminating thread management overhead while improving parsing performance

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent introduces dynamic state management through reactive programming constructs where the parsing state transitions dynamically respond to events rather than following fixed thread execution paths. This allows the system to adaptively coordinate state changes without the rigidity of traditional thread-based approaches

Inventive Principle:
Principle #15Dynamics

2Productivity

If reactive programming with publishers and subscribers is implemented, then thread execution abstraction is achieved, but system complexity increases due to rigorous coordination requirements

Engineering Contradiction:
Improveexecution efficiencyVSAvoidreactive coordination complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the parsing system into distinct reactive components: a multi-part publisher that emits events, subscribers that consume events, and intermediate processing stages. This segmentation allows each component to be independently optimized and managed, reducing the perceived complexity of the overall reactive coordination system

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces intermediary reactive components that mediate between the publisher and final consumers. These intermediaries buffer, transform, and coordinate events in a standardized manner, simplifying the coordination complexity by providing a uniform interface between different parts of the reactive system

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If multi-part decoding is performed in reactive environment, then resource management is improved, but backpressure handling becomes more complex

Engineering Contradiction:
Improveresource managementVSAvoidbackpressure coordination complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements feedback mechanisms in the reactive pipeline where subscribers can signal backpressure conditions to upstream publishers. This feedback loop allows the system to dynamically adjust data flow rates, manage resources efficiently, and handle backpressure without complex external coordination by making the system self-regulating

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20220076210A1System and method for reactive multi-part parsing for use with a microservices or other computing environment
Publication Date: 2022.03.10 ORACLE INT CORP
  • US20220076210A1 patent drawing
  • US20220076210A1 patent drawing
  • US20220076210A1 patent drawing

AI summary

In accordance with an embodiment, described herein is a system and method for providing reactive multi-part parsing for use with a microservices or other computing environment. In a cloud computing environment, reactive programming can be used with publishers and subscribers, to abstract execution away from the thread of execution while providing rigorous coordination of various state transitions. The described approach provides support for parsing multi-part Multipurpose Internet Mail Extensions (MIME) or other data content, for example to provide a multi-part decoder, or as may be used with a web or other server.