发明名称 Compile-time grouping of tuples in a streaming application
摘要 A system and a method for initializing a streaming application are disclosed. The method may include initializing a streaming application for execution on one or more compute nodes which are adapted to execute one or more stream operators. The method may, during a compiling of code, identify whether a processing condition exists at a first stream operator of a plurality of stream operators. The method may add a grouping condition to a second stream operator of the plurality of stream operators if the processing condition exists. The method may provide for the second stream operator to group tuples for sending to the first stream operator.
申请公布号 US9262478(B2) 申请公布日期 2016.02.16
申请号 US201313772464 申请日期 2013.02.21
申请人 International Business Machines Corporation 发明人 Branson Michael J.;Cobb Bradford L.;Santosuosso John M.
分类号 G06F17/30;G06F9/455;G06F9/45 主分类号 G06F17/30
代理机构 代理人 Sry Jonathan V.;Nock James R.
主权项 1. A computer program product for initializing a streaming application for execution on one or more compute nodes, each compute node adapted to execute one or more stream operators, the initialization including compiling code on a compiler system hosted by the computing device, the computer program product comprising a non-transitory computer readable storage medium having program code stored thereon, the program code, when executed on a computing device, causes the computing device to: examine, with a compiler system, an operator graph with a plurality of stream operators having a first stream operator written in a first set of programming instructions that outputs a plurality of tuples to a second stream operator; determine, with the compiler system, an existence of a defined processing condition at the second stream operator of the plurality of stream operators during compile-time, the defined processing condition includes a tumbling windowing condition that arranges a subset of tuples to be processed by the second stream operator from an input of the plurality of tuples by storing incoming tuples until a window is full, and flushes the stored tuples from the window; and modify the first stream operator, with the compiler system during compile-time, by compiling code that results in adding a grouping condition into the first stream operator of the plurality of stream operators in response to the determining of the existence of the defined processing condition at the second stream operator, wherein the grouping condition causes the first stream operator to output a specific group of tuples from the plurality of tuples to the second stream operator, wherein adding a grouping condition causes the first stream operator to have a second set of programming instructions different than the first set of programming instructions.
地址 Armonk NY US