Cross-Cluster Encrypted Message Replication With In-Order Delivery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

End-to-end encryption services in a single cluster environment are susceptible to a single point of failure, leading to disabled messaging or encryption services for all encrypted endpoints and disproportionate performance based on proximity to the cluster.

Innovation Solution

Implementing a multi-cluster environment that allows clients to receive encryption keys and cipher metadata across any operating cluster, ensuring availability and reduced latency by using message aggregators, sorters, and distributors to maintain message order and synchronization across clusters.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If a single cluster environment is used for encryption key management, then the system structure is simple, but the service availability deteriorates due to single point of failure

Engineering Contradiction:
Improvesystem structureVSAvoidservice availability
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The system divides the single cluster into multiple independent clusters, each capable of providing encryption key management services. This segmentation eliminates the single point of failure by distributing functionality across multiple clusters, allowing clients to connect to any operational cluster for service.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system changes the operational parameter from single-cluster mode to multi-cluster mode. Each cluster operates independently with the same encryption key management capabilities, transforming the system from centralized to distributed architecture, thereby improving availability without significantly increasing client-side complexity.

Inventive Principle:
Principle #35Parameter changes

2Ease of operation

If a single cluster environment is used for encryption key management, then the system is easy to operate, but performance becomes disproportionate based on client proximity to the cluster

Engineering Contradiction:
Improvesystem operationVSAvoidmessaging performance
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

By segmenting the service into multiple geographically distributed clusters, clients can connect to the nearest or most accessible cluster. This maintains operational simplicity while improving performance by reducing network latency and bandwidth requirements for clients in different locations.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Each cluster provides localized service capabilities, allowing clients to interact with the encryption key management system through their local or regional cluster. This reduces the need for long-distance communication and improves overall system performance while maintaining ease of operation through consistent interfaces.

Inventive Principle:
Principle #3Local quality

3Device complexity

If encryption key exchange occurs in a single cluster, then key management is centralized and simple, but remote clients experience high latency in joining and receiving updates

Engineering Contradiction:
Improvekey management structureVSAvoidclient joining latency
Core Design Contradiction:
Device complexityVSLoss of time

Solution Approach 1:

The key management functionality is segmented and replicated across multiple clusters. Remote clients can join and receive encryption key updates from their local cluster without needing to communicate with a distant centralized cluster, significantly reducing latency while maintaining consistent key management operations.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Each cluster acts as an intermediary for key management operations within its region. Clients interact with their local cluster intermediary, which handles key distribution and updates locally, eliminating the need for remote clients to directly communicate with a centralized key management system and reducing transmission delays.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Reliability

If the encryption messaging service is disabled due to cluster failure, then service reliability is maintained through failure detection, but continuous messaging capability deteriorates

Engineering Contradiction:
Improvefailure detectionVSAvoidmessaging continuity
Core Design Contradiction:
ReliabilityVSDuration of action of stationary object

Solution Approach 1:

The messaging service is segmented across multiple independent clusters. When one cluster fails, clients can automatically connect to alternative operational clusters, maintaining messaging continuity. The failure detection mechanism operates independently at each cluster, providing both reliability through monitoring and continuity through redundancy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system prepares for potential failures by pre-establishing multiple operational clusters with identical key management capabilities. This beforehand cushioning ensures that when a failure occurs, clients already have alternative clusters available, preventing service interruption and maintaining continuous messaging capability.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Data Source

PatentUS12549353B2Systems and methods for in order cross cluster replication of encrypted messages
Publication Date: 2026.02.10 RINGCENTRAL INC
  • US12549353B2 patent drawing
  • US12549353B2 patent drawing
  • US12549353B2 patent drawing

AI summary

A multi-cluster environment improves the availability and performance of encryption messaging services by providing an in-order cross cluster replication of encryption messages. A first cluster and a second cluster of the multi-cluster environment receive messages with a session identifier for an encrypted session. The first and second clusters replicate the received messages across the multi-cluster environment. A third cluster of the multi-cluster environment detects a particular message from the replicated messages with a timestamp that is earlier than a timestamp of the other replicated messages, and defines a message sequence window with a subset of messages from the replicated messages arranged in an order that differs from an ordering with which the third cluster receives the replicated messages. The third cluster distributes the reordered subset of messages to endpoints of the encrypted session connected via the third cluster.