发明名称 Buffered cloned operators in a streaming application
摘要 A streams manager clones a portion of a primary flow graph to a virtual machine with a buffer to assure no data is lost if the corresponding portion of the primary flow graph fails. The buffer can be on the input of the cloned portion or on the output of the cloned portion. Cloning a portion of a primary flow graph with a buffer assures no data is lost when the corresponding portion of the primary flow graph fails. When the primary flow graph recovers from the failure, the processing may be switched back to the primary flow graph, which causes the buffer to begin buffering once again.
申请公布号 US9471432(B2) 申请公布日期 2016.10.18
申请号 US201414529117 申请日期 2014.10.30
申请人 International Business Machines Corporation 发明人 Bragstad Lance;Branson Michael J.;Cao Bin;Carey James E.;Odden Mathew R.
分类号 G06F11/00;G06F11/14;H04L29/06;G06F9/44 主分类号 G06F11/00
代理机构 Martin & Associates, LLC 代理人 Martin & Associates, LLC ;Martin Derek P.
主权项 1. An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a streaming application residing in the memory and executed by the at least one processor, the streaming application comprising a primary flow graph that includes a plurality of operators that process a plurality of data tuples, wherein the primary flow graph comprises a first portion for which data loss needs to be prevented; and a streams manager residing in the memory and executed by the at least one processor, the streams manager cloning the first portion of the primary flow graph to a virtual machine, wherein the cloned first portion comprises a buffer that stores data tuples for the cloned first portion, the streams manager detecting when the first portion of the primary flow graph has a failure, and in response to detecting the failure, notifies the cloned first portion of the failure in the first portion of the primary flow graph, and in response, the cloned first portion outputs data tuples to the primary flow graph to avoid data loss by the first portion of the primary flow graph that had the failure.
地址 Armonk NY US