×

PARALLEL PROCESSING OF CONTINUOUS QUERIES ON DATA STREAMS

  • US 20110314019A1
  • Filed: 05/20/2011
  • Published: 12/22/2011
  • Est. Priority Date: 06/18/2010
  • Status: Abandoned Application
First Claim
Patent Images

1. A parallel stream processing engine of continuous queries formed by a plurality of instances wherein each instance is executed in any processing node that of the processing engine, wherein the cooperation of instances processes a query, comprising:

  • a) means for receiving the query to be deployed;

    b) means for splitting the original query into subqueries, obtaining at least one subquery;

    each subquery is executed at least in one node;

    c) means for labeling with timestamps the tuples produced by each operator of each subquery;

    d) wherein between each two consecutive subqueries,i) a load balancer is interposed at the output of each node, the load balancer executing each of the instances of the source subquery;

    ii) the output from the load balancer is connected with all the nodes in which one of the instances of the destination subquery is executed;

    iii) an input merger is interposed in each node, the input merger executing each of the instances of destination subquery;

    iv) checking is performed to determine if all subqueries contain at most a stateful operator and if inputs are connected to previous subqueries, wherein;

    a) if the checking succeeds, the load balancer sends received tuples with a same key to a same instance of the source subquery;

    b) if the checking fails, a load balancer and an input merger are interposed before each stateful operator that is preceded by any other operator, such that the stateful operator in the node where each of the instances of the destination query are executed sends all received tuples with the same key to the same instance of the destination subquery.

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