Invention Grant
- Patent Title: Processing and ordering messages in partitions
-
Application No.: US16780575Application Date: 2020-02-03
-
Publication No.: US11240303B2Publication Date: 2022-02-01
- Inventor: Chukwunwike I. J. Onianwa , Krishna Kannan , Vignesh Somasundaram
- Applicant: Microsoft Technology Licensing, LLC
- Applicant Address: US WA Redmond
- Assignee: Microsoft Technology Licensing, LLC
- Current Assignee: Microsoft Technology Licensing, LLC
- Current Assignee Address: US WA Redmond
- Main IPC: H04L29/08
- IPC: H04L29/08 ; G06N20/00 ; G06N5/04 ; H04L29/06 ; H04L12/58

Abstract:
The disclosure herein describes a message ordering system for processing and synchronizing chat messages in partitions to maintain messaging order and load balancing in a distributed system at scale. Messages are placed in partitions based on session identifiers (IDs). Messaging order is secured by a session receiver holding a lock over particular partitions. Receivers having subscription to messages in service bus are enabled to terminate on occurrence of a predetermined event, such as threshold wait time without receiving additional messages with a selected session ID from their partitions, activity level on a node, number of receivers on a node or other metrics. Session ID locks are released after a session ends, a receiver terminates or a node crashes for failure handling. New receivers are created to handle new incoming messages for additional load balancing and/or failover.
Public/Granted literature
- US20210168204A1 PROCESSING AND ORDERING MESSAGES IN PARTITIONS Public/Granted day:2021-06-03
Information query