CPC H04L 67/142 (2013.01) [H04L 43/028 (2013.01); H04L 69/169 (2013.01)] | 17 Claims |
1. A method comprising:
receiving a batch of events at a processing system of a distributed stream processing system comprising multiple processing systems in data communication with a shared state data store;
determining, at the processing system, database operations associated with the events;
coalescing, at the processing system, the database operations into one or more speculative database operations with one or more associated reject rules, wherein the processing system stores a speculative state of at least a portion of the shared state data store, and wherein the one or more associated reject rules are based on the speculative state;
sending the one or more speculative database operations and the one or more associated reject rules from the processing system to the shared state data store to cause the shared state data store to determine whether to reject one or more of the one or more speculative database operations based on an authoritative state in the shared state data store; and
receiving, at the processing system, one or more responses from the shared state data store, wherein the one or more responses comprise one or more rejections of the one or more speculative database operations.
|