×

Batching tuples

  • US 10,268,727 B2
  • Filed: 03/29/2013
  • Issued: 04/23/2019
  • Est. Priority Date: 03/29/2013
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for batching tuples comprising:

  • determining a plurality of key-attributes for each of a plurality of tuples, wherein each key-attribute of each tuple describes a type or classification of data in the tuple;

    creating, by a processor of a publisher operator, a batch tuple in a buffer containing a plurality of lists based on the plurality of key-attributes of the plurality of tuples, including;

    creating a series of intermediate batch tuples, wherein each of the intermediate batch tuples is created for one of the tuples and contains the plurality of lists, andadding the plurality of key-attributes of each of the tuples into the plurality of lists of one of the intermediate batch tuples in a sequential order such that a last one of the series of intermediate batch tuples contains the plurality of key-attributes of all of the tuples in the plurality of lists;

    calculating, by the processor, a hash value for the batch tuple in the buffer based on the plurality of lists;

    when the buffer containing the batch tuple is full, determining, by the processor, a subscriber operator instance having a same hash value as the batch tuple; and

    sending, by the processor, the batch tuple in the buffer to the subscriber operator instance that has the same hash value as the batch tuple.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×