Trading Platform Message Auditing for Replay-Based Failure Recovery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Financial trading platforms face challenges in efficiently monitoring and reviewing machine-readable trade messages due to their high volume and complexity, making it difficult for administrators to search, sort, and recover failed trades.

Innovation Solution

Implementing an audit microservice that automatically deserializes and translates trade messages into human-readable format, stores them in a searchable database, and provides a user interface for filtering and replaying messages to recover trade failures.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If trade messages are stored in machine-readable format for efficient processing, then system productivity is improved, but ease of operation deteriorates due to difficulty in searching and reviewing

Engineering Contradiction:
Improvemessage processing efficiencyVSAvoidmessage search and review capability
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The system creates a copy of trade messages in human-readable format from the original machine-readable messages. The audit microservice consumes messages from the trade platform and stores both the original machine-readable format and a translated human-readable version in the database, allowing administrators to easily search and review messages without affecting the efficiency of the original trade processing system.

Inventive Principle:
Principle #26Copying

2Extent of automation

If automated message consumption is implemented for unlimited topics, then extent of automation is improved, but device complexity increases due to consumer creation and management

Engineering Contradiction:
Improvemessage consumer automationVSAvoidconsumer management complexity
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

The audit microservice automatically creates and manages message consumers without requiring manual intervention. When a new topic is introduced, the developer only needs to add the topic information to a JSON configuration file. The audit microservice reads this configuration, determines the number of topics requiring consumers, and automatically creates the appropriate number of consumers, eliminating the need for manual consumer creation and management.

Inventive Principle:
Principle #25Self-service

3Reliability

If trade failure recovery through message replay is added, then reliability is improved, but loss of time increases due to manual intervention requirements

Engineering Contradiction:
Improvetrade failure recoveryVSAvoidrecovery time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system stores all trade messages in a searchable database with human-readable format in advance, organized by topic and time. When a trade failure occurs, administrators can immediately search for and identify the failed messages using the user interface, and replay them without manual intervention. This preliminary organization and accessibility of messages significantly reduces the time required for trade failure recovery compared to traditional methods requiring manual log analysis.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12452199B2Systems and methods for monitoring and recovering trading system failures
Publication Date: 2025.10.21 FMR CORP
  • US12452199B2 patent drawing
  • US12452199B2 patent drawing
  • US12452199B2 patent drawing

AI summary

A computerized method is provided for automatic monitoring, deserializing, cataloging, and replaying messages passing through a trading platform. Methods can include an audit micro service operable to read JSON files associated with various messages including a topic and class name attribute and create a message consumer having specific attributes based on the topic and class name attribute. The consumer can be a compiled executable operable to receive, deserialize, and store messages in a searchable database in human readable format.