Invention Grant
- Patent Title: Controlling memory utilization by a topic in a publish-subscribe environment
-
Application No.: US16989177Application Date: 2020-08-10
-
Publication No.: US11354161B2Publication Date: 2022-06-07
- Inventor: Venkatraman Nagarajan Iyer , Gaurav Harish Srivastava
- Applicant: Bank of America Corporation
- Applicant Address: US NC Charlotte
- Assignee: Bank of America Corporation
- Current Assignee: Bank of America Corporation
- Current Assignee Address: US NC Charlotte
- Main IPC: G06F15/16
- IPC: G06F15/16 ; G06F9/54 ; H04L29/06 ; G06F9/50 ; H04L12/18 ; G06F11/30

Abstract:
An apparatus is provided to manage memory utilization by a topic in a publish-subscribe environment, wherein the topic is a logical container for the messages. The apparatus includes a primary memory device configured to store messages published to a topic, and a secondary storage device. A processor operationally coupled to the primary and secondary memory devices is configured to monitor utilization of a portion of the primary memory device assigned to the topic. In response to detecting that the utilization of the portion of the primary memory device has equaled or exceeded a threshold for memory utilization, the processor performs at least one of throttling the rate of publishing to the topic and transferring a portion of the messages from the topic to the secondary memory device. Each of the throttling and the transferring keeps the portion of the primary memory device assigned to the topic from overloading.
Information query