Speculative data processing of streaming data
First Claim
1. A computer system comprising:
- a memory;
a processor coupled to the memory;
processing logic coupled to the memory and the processor and configured to;
receive a plurality of source data records from one or more source computers, wherein one or more first source data records are associated with a first source transaction and one or more second source data records are associated with a second source transaction;
generate a first derived transaction including one or more first derived records based on the plurality of source data records;
generate a first transaction mapping between the first derived transaction and the first source transaction;
generate a second transaction mapping between the first derived transaction and the second source transaction;
determine that the first derived transaction has ended, and in response, commit first derived transaction including the one or more first derived records to a persistent storage;
receive a first ending punctuation associated with the first source transaction, and in response, commit the first source transaction including the one or more first source data records associated with the first source transaction to the persistent storage;
after committing the first derived transaction, determine that the second source transaction failed, and in response;
determine that the first derived transaction should be regenerated based on the second transaction mapping, and in response, regenerate the first derived transaction by;
generating one or more second derived records that are based on the one or more first source data records but not the one or more second source data records;
committing the one or more second derived records to the persistent storage.
1 Assignment
0 Petitions
Accused Products
Abstract
In an embodiment, a method comprises receiving a plurality of source data records from one or more source computers, wherein one or more first source data records are associated with a first source transaction and one or more second source data records are associated with a second source transaction; generating a first derived transaction comprising one or more first derived records based on the plurality of source data records; generating a first transaction mapping between the first derived transaction and the first source transaction; generating a second transaction mapping between the first derived transaction and the second source transaction; determining that the first derived transaction has ended, and in response, committing first derived transaction including the one or more first derived records to a persistent storage; receiving a first ending punctuation associated with the first source transaction, and in response, committing the first source transaction including the one or more first source data records associated with the first source transaction to the persistent storage; after committing the first derived transaction, determining that the second source transaction failed, and in response: determining that the first derived transaction should be regenerated based on the second transaction mapping, and in response, regenerating the first derived transaction.
-
Citations
18 Claims
-
1. A computer system comprising:
-
a memory; a processor coupled to the memory; processing logic coupled to the memory and the processor and configured to; receive a plurality of source data records from one or more source computers, wherein one or more first source data records are associated with a first source transaction and one or more second source data records are associated with a second source transaction; generate a first derived transaction including one or more first derived records based on the plurality of source data records; generate a first transaction mapping between the first derived transaction and the first source transaction; generate a second transaction mapping between the first derived transaction and the second source transaction; determine that the first derived transaction has ended, and in response, commit first derived transaction including the one or more first derived records to a persistent storage; receive a first ending punctuation associated with the first source transaction, and in response, commit the first source transaction including the one or more first source data records associated with the first source transaction to the persistent storage; after committing the first derived transaction, determine that the second source transaction failed, and in response; determine that the first derived transaction should be regenerated based on the second transaction mapping, and in response, regenerate the first derived transaction by; generating one or more second derived records that are based on the one or more first source data records but not the one or more second source data records; committing the one or more second derived records to the persistent storage. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method comprising:
-
receiving a plurality of source data records from one or more source computers, wherein one or more first source data records are associated with a first source transaction and one or more second source data records are associated with a second source transaction; generating a first derived transaction comprising one or more first derived records based on the plurality of source data records; generating a first transaction mapping between the first derived transaction and the first source transaction; generating a second transaction mapping between the first derived transaction and the second source transaction; determining that the first derived transaction has ended, and in response, committing first derived transaction including the one or more first derived records to a persistent storage; receiving a first ending punctuation associated with the first source transaction, and in response, committing the first source transaction including the one or more first source data records associated with the first source transaction to the persistent storage; after committing the first derived transaction, determining that the second source transaction failed, and in response; determining that the first derived transaction should be regenerated based on the second transaction mapping, and in response, regenerating the first derived transaction by; generating one or more second derived records that are based on the one or more first source data records but not the one or more second source data records; committing the one or more second derived records to the persistent storage; wherein the method is performed by one or more computing devices. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification