Shared Repository for Duplicate Session Detection in Pub/Sub Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In publish and subscribe systems with a distributed broker, detecting and managing duplicate client sessions is challenging due to the decoupled nature of clients and servers, which can lead to false detection of duplicate sessions when servers fail or clients reconnect, causing potential disruptions and requiring efficient policies for resolution.

Innovation Solution

A system that includes a processor to receive connection requests with client identifiers and predefined policies for duplicate client sessions, querying a shared repository to execute actions based on detected duplicate sessions, using parameters like client properties, connection histories, and server statuses, allowing for dynamic and localized management of duplicate client sessions without centralized arbitration.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a distributed broker architecture is used to improve system scalability and reduce centralized bottlenecks, then system capacity and fault tolerance are improved, but duplicate client session detection accuracy deteriorates due to the decoupled nature of clients and servers

Engineering Contradiction:
Improvesystem capacityVSAvoidduplicate session detection accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent introduces a shared repository as an intermediary component that all servers in the distributed broker can query. This repository stores client session information and serves as a centralized data source that resolves the detection accuracy issue while maintaining the distributed architecture's scalability benefits.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The shared repository serves multiple functions: it stores client session data, enables duplicate detection across all servers, and provides a centralized truth source for session management. This multi-functional component addresses the detection accuracy problem without requiring a fully centralized broker architecture.

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

2Measurement precision

If centralized arbitration is used to manage duplicate client sessions, then duplicate detection accuracy is improved, but system complexity and centralized bottlenecks increase

Engineering Contradiction:
Improveduplicate session detection accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the arbitration function by allowing each server to independently query the shared repository and make local decisions about duplicate sessions. This eliminates the need for a centralized arbitration mechanism while maintaining accurate duplicate detection through the shared data source.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts the session data management function from the server logic and places it in a separate shared repository. This separation allows servers to maintain simplicity while achieving accurate duplicate detection by querying the external repository, rather than implementing complex centralized arbitration.

Inventive Principle:
Principle #2Taking out (Extraction)

3Measurement precision

If servers frequently communicate with each other to detect duplicate sessions, then duplicate detection accuracy is improved, but network overhead and server interaction complexity increase

Engineering Contradiction:
Improveduplicate session detection accuracyVSAvoidnetwork overhead
Core Design Contradiction:
Measurement precisionVSLoss of energy

Solution Approach 1:

The patent merges the session data from all servers into a single shared repository. This consolidation eliminates the need for servers to communicate with each other individually, as they can all query the same centralized data source, reducing network overhead while maintaining detection accuracy.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11381665B2Tracking client sessions in publish and subscribe systems using a shared repository
Publication Date: 2022.07.05 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11381665B2 patent drawing
  • US11381665B2 patent drawing
  • US11381665B2 patent drawing

AI summary

Examples of techniques for tracking client sessions in a publish and subscribe system using a shared repository are described herein. An example system includes a processor of a server to receive a connection request with a client identifier from a client a predefined policy for duplicate client sessions. The processor is to query a shared repository of the system using the client identifier. The processor is to also execute a set of actions based on the predefined policy, a query result including a detected duplicate client session from the shared repository, and a set of parameters.