Messaging System Message Deduplication via Batch Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current messaging systems face inefficiencies in processing and storing messages, particularly in managing messaging conversations, deduplicating messages, and performing bulk data operations, which can lead to increased operational costs and reduced responsiveness.

Innovation Solution

The implementation of a messaging system that uses messaging conversation identifiers and deduplication tokens to index and store messages, employs batch-operation instructions for delayed processing, and utilizes probabilistic data structures like Bloom filters for efficient deduplication, thereby improving message indexing, storage, and processing efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If messages are processed and stored individually in real-time, then message delivery responsiveness is improved, but system operational costs and processing overhead increase

Engineering Contradiction:
Improvemessage delivery responsivenessVSAvoidsystem operational costs
Core Design Contradiction:
SpeedVSLoss of energy

Solution Approach 1:

The patent implements periodic batch processing where messages are collected over time and processed together in batches rather than individually in real-time. The batch processing component periodically retrieves messages from the queue and processes them collectively, reducing per-message overhead while maintaining acceptable delivery responsiveness through the use of deduplication tokens and efficient indexing.

Inventive Principle:
Principle #19Periodic action

2Productivity

If all incoming messages are stored without deduplication checking, then storage speed is improved, but data redundancy and storage costs increase

Engineering Contradiction:
Improvestorage speedVSAvoiddata redundancy
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent applies preliminary deduplication by extracting and checking deduplication tokens from incoming messages before full storage occurs. The batch processing component performs deduplication checks using these tokens against previously stored message identifiers, preventing redundant messages from being fully stored and thus reducing data redundancy while maintaining efficient storage throughput.

Inventive Principle:
Principle #10Preliminary action

3Quantity of substance

If deduplication checking is performed on every incoming message, then data redundancy is reduced, but processing time and system responsiveness deteriorate

Engineering Contradiction:
Improvedata redundancyVSAvoidprocessing time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent reduces processing time by performing deduplication checks periodically in batches rather than on every single incoming message in real-time. The batch processing component collects messages with their deduplication tokens and performs bulk deduplication checks, which are more efficient than individual checks due to reduced overhead and optimized query operations.

Inventive Principle:
Principle #19Periodic action

4Reliability

If batch operations are performed synchronously, then data consistency is improved, but system throughput and responsiveness worsen

Engineering Contradiction:
Improvedata consistencyVSAvoidsystem throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent introduces a message queue as an intermediary between message reception and batch processing operations. Messages are queued asynchronously and processed in batches at convenient intervals, decoupling the reception and processing phases. This maintains data consistency through the use of transactional batch operations while improving system throughput by allowing continuous message acceptance without waiting for processing completion.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11431662B2Techniques for message deduplication
Publication Date: 2022.08.30 META PLATFORMS INC
  • US11431662B2 patent drawing
  • US11431662B2 patent drawing
  • US11431662B2 patent drawing

AI summary

Techniques for message deduplication are described. In one embodiment, an apparatus may comprise a client front-end component operative to receive an incoming message at a messaging system from a messaging client on a client device; extract a deduplication token from the incoming message; store the incoming message in a message queue where examining the deduplication token determines that the incoming message does not duplicate any existing message of the messaging system; and discard the incoming message where examining the deduplication token determines that the incoming message does duplicate an existing message; and a message deduplication component operative to examine the deduplication token to determine whether the incoming message duplicates any existing message of the messaging system. Other embodiments are described and claimed.