×

Custom partitioning of a data stream

  • US 9,244,978 B2
  • Filed: 06/11/2014
  • Issued: 01/26/2016
  • Est. Priority Date: 06/11/2014
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • a memory storing computer-executable instructions; and

    a processor configured to access the memory and execute the computer-executable instructions to at least;

    identify a data stream associated with a user;

    receive a query for processing at least a portion of the data stream;

    identify a rate of events of the data stream, the rate of events comprising a number of events received by the processor per time period;

    determine that the rate of events is above a threshold; and

    when the rate of events is above the threshold;

    provide, to the user, a software development kit for generating a java class;

    enable the user to create a partition class in java using the software development kit, the partition class configured to;

    receive each event of the data stream at runtime; and

    partition the data stream into a plurality of sub-stream portions;

    receive, from the user, an attribute of the data stream;

    receive, from the user, the partition class generated by the user for partitioning the data stream, the partition class is based at least in part on the software development kit and the attribute of the data stream;

    associate, by the computer system, the partition class with the query;

    process each event of the data stream with the partition class at runtime to partition the data stream based at least in part on the association of the partition class with the query;

    the process comprising;

    partitioning the data stream into the plurality of sub-stream portions based at least in part on the attribute;

    provide at least one sub-stream portion of the plurality of sub-stream portions to the query;

    process the at least one sub-stream portion, using the query, in parallel with at least a second sub-stream portion of the plurality of sub-stream portions that is received as an output from the partition class; and

    provide results of the query based at least in part on the at least one sub-stream portion and the second sub-stream portion.

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