×

Smart tuple resource estimation

  • US 10,657,135 B2
  • Filed: 09/30/2015
  • Issued: 05/19/2020
  • Est. Priority Date: 09/30/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for processing a stream of tuples, the method comprising:

  • receiving, by a stream application, a stream of tuples to be processed by a plurality of processing elements operating on one or more compute nodes, each processing element having one or more stream operators;

    assigning, by the stream application, one or more processing cycles to a plurality of segments of software code embedded in a tuple of the stream of tuples, the segments of software code embedded in the tuple configured to update the logic of the plurality of processing elements of the stream application, wherein the processing cycles embedded in the tuple change the logic of the stream application by bypassing one or more processing elements and/or stream operators; and

    executing, by the software-embedded tuple and on one or more tuples of the stream tuples not updated by one or the one or more stream operators, the following operations;

    retrieving, by the software-embedded tuple, one or more compute node metrics that describe one or more resources of a first compute node;

    obtaining, by the software-embedded tuple, tuple information of one or more tuples of the stream of tuples to be processed by a first stream operator, the first stream operator operating on the one or more resources;

    determining, by the software-embedded tuple and based on the obtained tuple information and based on the compute node metrics, a prospective resource disparity related to the first stream operator; and

    transmitting, by the software-embedded tuple to the stream application and based on the determined prospective resource disparity, a resource request related to the one or more resources.

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