IP Library Granted Patent US 11,271,981
Granted Patent B2
US 11,271,981 · App. 16/249,357 · Granted Mar 8, 2022

Distributed stream processing in the cloud

Inventors: Jingren Zhou (Bellevue, WA); Zhengping Qian (Shanghai, CN); Peter Zabback (Kirkland, WA); Wei Lin (Issaquah, WA)
Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
H04L65/60G06F11/1438G06F16/24542
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,271,981
App. No.
16/249,357
Granted
Mar 8, 2022
Kind
B2
Abstract

A low-latency cloud-scale computation environment includes a query language, optimization, scheduling, fault tolerance and fault recovery. An event model can be used to extend a declarative query language so that temporal analysis of event of an event stream can be performed. Extractors and outputters can be used to define and implement functions that extend the capabilities of the event-based query language. A script written in the extended query language can be translated into an optimal parallel continuous execution plan. Execution of the plan can be orchestrated by a streaming job manager which schedules vertices on available computing machines. The streaming job manager can monitor overall job execution. Fault tolerance can be provided by tracking execution progress and data dependencies in each vertex. In the event of a failure, another instance of the failed vertex can be scheduled. An optimal recovery point can be determined based on checkpoints and data dependencies.

Claims (49)

1. A computing device, comprising:

at least one processor:

at least one memory connected to the at least one processor; and

a distributed stream processing system that is at least partially stored in the at least one memory and executed by the at least one processor, the distributed stream processing system comprising

a streaming job manager configured to

monitor execution information about streaming jobs executed by a plurality of vertices executing on a plurality of computing devices, each vertex of the plurality of vertices configured to process events associated with one or more streaming jobs, the plurality of vertices including a user-defined stream extractor vertex configured to consume events of one or more streams,

receive execution progress information for the plurality of vertices,

detect, based on the monitored execution information, a failed vertex of the plurality of vertices, and

restart the failed vertex.

2. The computing device of claim 1 , wherein the stream extractor vertex is configured to continually wait for and perform computations on data received in the one or more event streams.

3. The computing device of claim 2 , wherein the stream extractor vertex is configured to indicate temporal information for an event.

4. The computing device of claim 3 , wherein the temporal information includes at least one of a time the event began, a time the event ended, a time period during which the event was active, or sequence information for the event.

5. The computing device of claim 3 , further comprising:

a garbage collection process configured to garbage collect the event based on a sequence number of the event.

6. The computing device of claim 1 , wherein the plurality of vertices includes a stream outputter vertex configured to perform one or more user-defined actions processing one or more streaming output events.

7. A method in a distributed stream processing system implemented in at least one computing device, comprising

monitoring execution information about streaming jobs executed by a plurality of vertices executing on a plurality of computing devices, each vertex of the plurality of vertices configured to process events associated with one or more streaming jobs, the plurality of vertices including a stream extractor vertex;

enabling a user to define the stream extractor vertex;

continually waiting for, by the stream extractor vertex, data received in one or more event streams;

detecting, based on the monitored execution information, a failed vertex of the plurality of vertices; and

restarting the failed vertex.

8. The method of claim 7 , wherein the plurality of vertices includes a stream extractor vertex, the method further comprising:

consuming, by the stream extractor vertex, events of the one or more event streams; and

performing computations on the data received in the one or more event streams.

9. The method of claim 7 , further comprising:

configuring the stream extractor vertex to indicate temporal information for an event.

10. The method of claim 9 , wherein the temporal information includes at least one of a time the event began, a time the event ended, a time period during which the event was active, or sequence information for the event.

11. The method of claim 9 , further comprising:

garbage collecting the event based on a sequence number of the event.

12. The method of claim 7 , wherein the plurality of vertices includes a stream outputter vertex, the method further comprising:

performing one or more user-defined actions with the stream outputter vertex to process one or more streaming output events.

13. A computer-readable storage medium having program instructions recorded thereon that, when executed by at least one processing circuit, perform a method for distributed stream processing, the method comprising:

monitoring execution information about streaming jobs executed by a plurality of vertices executing on a plurality of computing devices, each vertex of the plurality of vertices configured to process events associated with one or more streaming jobs; and

enabling consumption of an output event stream by an application, the consumption of the output event stream defined by a user.

14. The computer-readable storage medium of claim 13 , wherein the plurality of vertices includes a stream extractor vertex, the method further comprising:

consuming, by the stream extractor vertex, events of one or more event streams, including

continually waiting for and performing computations on data received in the one or more event streams.

15. The computer-readable storage medium of claim 14 , wherein the method further comprises:

configuring the stream extractor vertex to indicate temporal information for an event.

16. The computer-readable storage medium of claim 15 , wherein the temporal information includes at least one of a time the event began, a time the event ended, a time period during which the event was active, or sequence information for the event.

17. The computer-readable storage medium of claim 15 , wherein the method further comprises:

garbage collecting the event based on a sequence number of the event.

18. The computer-readable storage medium of claim 14 , wherein the method further comprises:

enabling a user to define the stream extractor vertex.

19. The computer-readable storage medium of claim 13 , the method further comprising:

detecting, based on the monitored execution information, a failed vertex of the plurality of vertices; and

restarting the failed vertex.

20. The computer-readable storage medium of claim 13 , wherein the plurality of vertices includes a stream outputter vertex, the method further comprising:

performing one or more user-defined actions with the stream outputter vertex to process one or more streaming output events.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 17, 2021
From: ZHOU, JINGREN; QIAN, ZHENGPING; ZABBACK, PETER; LIN, WEI
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 058136/0390 →
Continuity (3)
Continuation 15481958 · Apr 7, 2017
Continuation 14320706 · Jul 1, 2014
Related Publication 20190166173A1 · May 30, 2019