×

System and method for flow control in a messaging subsystem based on message-in/out rates

  • US 9,110,745 B2
  • Filed: 06/17/2011
  • Issued: 08/18/2015
  • Est. Priority Date: 06/17/2011
  • Status: Active Grant
First Claim
Patent Images

1. A system for use in a messaging subsystem, which supports flow control of messages between one or more producer systems operable to send messages in batches having a batch size and a plurality of consumer systems operable to process said messages, the system comprising:

  • a computer, including a computer readable medium and processor;

    a message broker operating on said computer;

    wherein the message broker includes at least one destination which receives said messages from said one or more producer systems at a producing rate, and from which said plurality of consumer systems consume said messages at a combined consuming rate, wherein the combined consuming rate comprises consumption of messages by all of said plurality of consumer systems in combination;

    wherein the message broker includes a flow controller configured to monitor said producing rate and said combined consuming rate and calculate a calculated ratio of said producing rate and said combined consuming rate; and

    wherein the flow controller is configured to send an adjusted batch size indication based on said calculated ratio from said flow controller to said one or more producer to dynamically adjust the batch size for batches of messages sent from said one or more producer to said at least one destination of the message broker.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×