US Patent:
20200389546, Dec 10, 2020
Inventors:
- Redmond WA, US
Jagadish Venkatraman - Sunnyvale CA, US
Jacob R. Maes - San Jose CA, US
Kartik Paramasivam - Sunnyvale CA, US
Prateek Maheshwari - Sunnyvale CA, US
Ray Manpreet Singh Matharu - Sunnyvale CA, US
Samarth Shetty - Campbell CA, US
Yi Pan - San Jose CA, US
Assignee:
Microsoft Technology Licensing, LLC - Redmond WA
International Classification:
H04L 29/14
H04L 29/06
Abstract:
The disclosed embodiments provide a system for managing a stream-processing application. During operation, the system allocates a first host for an active instance of the stream-processing application that maintains a state during processing of one or more input streams. Next, the system allocates a second host for a first backup instance that recreates the state on the active instance by consuming changes to the state replicated from the active instance without consuming the input stream(s). During a failure on the first host, the system moves the active instance to the first host by stopping the first backup instance on the second host. Finally, the system launches the active instance on the second host to resume processing of the input stream(s) by the active instance using the recreated state from the first backup instance.