Affinity Client Session Management in Distributed Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed transactional systems lack effective session management, particularly in request/response communication paradigms where state information is not maintained, leading to inefficiencies in routing and resource management across multiple services.

Innovation Solution

Implementing an affinity client and server within a distributed transactional service system to create and manage sessions, determining an affinity scope for routing subsequent requests and maintaining session context across multiple services, with options for strictness levels and session roles to ensure proper resource allocation and failover.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If distributed transactional systems use request/response communication paradigm without session management, then system simplicity is maintained, but routing efficiency and resource management deteriorate

Engineering Contradiction:
Improverouting efficiencyVSAvoidsession management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system performs preliminary actions by establishing session context and affinity scope before processing requests. The affinity client determines the affinity scope in advance and maintains session state information, so that subsequent requests within the same session can be routed efficiently without re-evaluating routing decisions each time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The affinity client acts as an intermediary between the user application and the distributed transactional server. It maintains session context and state information locally, and uses this information to determine affinity scope and route requests appropriately, thereby improving routing efficiency without requiring complex session management at the server level for every request.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If session context is maintained across multiple services, then resource management improves, but system complexity increases

Engineering Contradiction:
Improveresource managementVSAvoidsession management structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system applies local quality by maintaining session context and state information locally at the affinity client rather than centrally at the server. Each affinity client manages its own session information independently, which improves resource management for local services while avoiding the need for a complex centralized session management structure.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

Session management is segmented into independent affinity clients, each responsible for maintaining its own session context. This segmentation allows multiple sessions to be managed independently without requiring a monolithic session management system, thereby improving resource management while keeping overall system complexity manageable through modular organization.

Inventive Principle:
Principle #1Segmentation

3Speed

If affinity scope is determined and maintained, then request routing efficiency improves, but information management complexity increases

Engineering Contradiction:
Improverequest routing speedVSAvoidaffinity scope management
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The affinity scope is determined in advance when the session is established, before requests are processed. This preliminary determination of affinity scope allows requests to be routed quickly based on pre-computed routing information, improving request routing speed while avoiding the need for complex real-time affinity scope management during request processing.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9715412B2System and method for supporting session management in a distributed transactional service system
Publication Date: 2017.07.25 ORACLE INT CORP
  • US9715412B2 patent drawing
  • US9715412B2 patent drawing
  • US9715412B2 patent drawing

AI summary

Session management can be supported in a distributed transactional service system using a distributed transactional server and an affinity client. The affinity client operates to receive a service request from a user application and invoke at least one distributed transactional service provided by the distributed transactional server. The distributed transactional server operates to create and maintain a session for the user application when the at least one distributed transactional service is invoked, and the distributed transactional server further operates to determine an affinity scope associated with the session. The affinity scope, which is maintained on the affinity client, defines a routing scope within the distributed transactional service system, into which consequent requests in the session from the user application are dispatched.