发明名称 SUPPLEMENTING A TUPLE WITH A DERIVED VALUE
摘要 A stream of tuples are processed by a plurality of processing elements, each including one or more stream operators, operating on computer processors. A method determines whether a first stream operator includes a first operation that is deterministic and whether a second stream operator includes a second operation that is equivalent to the first operation. In response to determining that the first operation is deterministic and the second operation is equivalent to the first operation, the first stream operator is configured to include in a tuple output from the first stream operator a result of performing the first operation using a first input. The second stream operator, which uses a second input when performing the second operation, determines whether the second input is the same as the first input, and uses the result in lieu of performing the second operation when the first and second inputs are the same.
申请公布号 US2016328489(A1) 申请公布日期 2016.11.10
申请号 US201615213437 申请日期 2016.07.19
申请人 International Business Machines Corporation 发明人 Branson Michael J.;Cobb Bradford L.;Santosuosso John M.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项 1. A computer program product for processing a stream of tuples, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code comprising computer readable program code configured to cause one or more processors to: receive a stream of tuples to be processed by a plurality of processing elements operating on one or more computer processors, each processing element having one or more stream operators, the stream operators being arranged in an operator graph; determine whether a first stream operator includes a first operation that is deterministic; determine whether a second stream operator includes a second operation that is equivalent to the first operation; and, in response to determining that the first operation is deterministic and the second operation is equivalent to the first operation, configure the first stream operator to include, in a tuple output from the first stream operator, a result of performing the first operation using a first input, and configure the second stream operator to: determine whether a second input is the same as the first input, wherein the second stream operator is configured to use the second input when performing the second operation, anduse the result in lieu of performing the second operation when the second input is the same as the first input.
地址 Armonk NY US