×

Streams optional execution paths depending upon data rates

  • US 9,930,081 B2
  • Filed: 11/13/2012
  • Issued: 03/27/2018
  • Est. Priority Date: 11/13/2012
  • Status: Expired due to Fees
First Claim
Patent Images

1. A system, comprising:

  • a computer processor; and

    a memory containing a program that, when executed on the computer processor, performs an operation for processing data, comprising;

    receiving streaming data to be processed by a plurality of interconnected processing elements, each processing element comprising one or more operators that process at least a portion of the received data by operation of one or more computer processors, wherein each one of the plurality of interconnected processing elements is hosted on a corresponding compute node;

    measuring, during a first time period, a data flow rate in a data path between at least two operators in the plurality of processing elements processing the streaming data;

    processing, during the first time period, at least a portion of the streaming data using a first code module, wherein the streaming data comprises a plurality of data tuples where each of the plurality of data tuples comprises a plurality of attribute value pairs, wherein the first code module processes a first attribute value pair of the plurality of attribute value pairs;

    selecting, based on the measured data flow rate, an inactive code module stored in a first one of the plurality of processing elements processing the streaming data, wherein the selected code module is maintained in an inactive state until the data flow rate satisfies a predefined threshold; and

    activating, during a second time period, the selected code module on the first plurality of processing elements such that a second attribute value pair of the plurality of attribute value pairs in the streaming data received by the first processing element is processed by the selected code module, wherein the second time period occurs after the first time period, wherein the first code module processes the first attribute value pair during the second time period, and wherein the first attribute value pair is different from the second attribute value pair.

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