发明名称 System and method for flow control in a messaging subsystem based on message-in/out rates
摘要 Systems and methods are provided, for use in a messaging subsystem, which supports flow control of messages between producers and consumers. A system can include at least one producer that is operable to send messages in a batch to one or more consumers via at least one destination; and one or more consumers that are operable to process messages received from the at least one producer via the at least one destination. The system can also include a message broker which includes the at least one destination and which manages communications between the at least one producer and the one or more consumers. The message broker includes a flow controller that is operable to monitor a producing rate and a consuming rate, and dynamically adjust a batch size of the batch at the at least one producer based on the producing rate and the consuming rate to communicate the messages more efficiently.
申请公布号 US9110745(B2) 申请公布日期 2015.08.18
申请号 US201113163355 申请日期 2011.06.17
申请人 ORACLE INTERNATIONAL CORPORATION 发明人 Kang Amy H.;Bratt Edward J.
分类号 G06F15/16;G06F9/54;G06F15/173 主分类号 G06F15/16
代理机构 Tucker Ellis LLP 代理人 Tucker Ellis LLP
主权项 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.
地址 Redwood Shores CA US