Data stream processing system and methods for use therewith
Abstract
A data stream processing system is operable to generate key assignment data indicating assignment of each of a plurality of subsets of a plurality of possible keys to a plurality of feed receiver modules by assigning one owner feed receiver module of the plurality of feed receiver modules to each key of the plurality of possible keys for a plurality of incoming messages, and by further assigning a set of follower feed receiver modules of the plurality of feed receiver modules to the each key of the plurality of possible keys. The plurality of incoming messages are processed via the plurality of feed receiver modules based on the key assignment data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method comprising: generating key assignment data indicating assignment of each of a plurality of subsets of a plurality of possible keys to a plurality of feed receiver modules by assigning one owner feed receiver module of the plurality of feed receiver modules to each key of the plurality of possible keys for a plurality of incoming messages, and by further assigning a set of follower feed receiver modules of the plurality of feed receiver modules to the each key of the plurality of possible keys; and processing the plurality of incoming messages via the plurality of feed receiver modules based on the key assignment data.
- Claim 2Independent Claim
A data stream processing system comprises: at least one processor; and at least one memory that stores operational instructions that, when executed by the at least one processor, cause the data stream processing system to: generate key assignment data indicating assignment of each of a plurality of subsets of a plurality of possible keys to a plurality of feed receiver modules by assigning one owner feed receiver module of the plurality of feed receiver modules to each key of the plurality of possible keys for a plurality of incoming messages, and by further assigning a set of follower feed receiver modules of the plurality of feed receiver modules to the each key of the plurality of possible keys; and process the plurality of incoming messages via the plurality of feed receiver modules based on the key assignment data.
- Claim 3Depends on #2
The data stream processing system of claim 2, wherein at least one feed receiver module of the plurality of feed receiver modules maintains a queue in accordance with a time-based ordering based on timestamps of at least some of the plurality of incoming messages, and wherein the queue is maintained by the at least one feed receiver module to include only ones of the plurality of incoming messages of messages with timestamps that compare favorably to a time window.
- Claim 4Depends on #2
The data stream processing system of claim 2, wherein a proper subset of messages of the plurality of incoming messages includes followed ones of the plurality of incoming messages, based on having keys included in a followed subset of keys in a corresponding subset the plurality of possible keys, corresponding to keys in the corresponding subset to which at least one feed receiver module of the plurality of feed receiver modules is assigned as a follower in the key assignment data, and wherein the followed ones of the plurality of incoming messages are not emitted by the at least one feed receiver module.
- Claim 5Depends on #2
The data stream processing system of claim 2, wherein at least one feed receiver module in the plurality of feed receiver modules receives a proper subset of messages of the plurality of incoming messages, and wherein the operational instructions, when executed by the at least one processor, further cause the data stream processing system to: determine key reassignment data indicating assignment of a new plurality of subsets of the plurality of possible keys to a proper subset of the plurality of feed receiver modules; process the plurality of incoming messages via the plurality of feed receiver modules based on the key reassignment data by, via the at least one feed receiver module in the plurality of feed receiver modules: receiving a second proper subset of messages of the plurality of incoming messages with keys included in a new subset of the new plurality of subsets of the plurality of possible keys assigned to at least one feed receiver module in the key reassignment data; maintaining all messages of the second proper subset of messages that compare favorably to a time window; and emitting only owned ones of the second proper subset of messages, based on having keys included in an owned subset of keys in the new subset, corresponding to ones of the new subset of the plurality of possible keys to which the at least one feed receiver module is assigned as an owner in the key reassignment data.
- Claim 6Depends on #5
The data stream processing system of claim 5, wherein a set difference between the owned subset of keys in the new subset and the owned subset of keys in a corresponding subset is non-null for at least one of the plurality of feed receiver modules.
- Claim 7Depends on #5
The data stream processing system of claim 5, wherein the operational instructions, when executed by the at least one processor, further cause the data stream processing system to, via at least one of the plurality of feed receiver modules assigned as an owner to at least one new key in the key reassignment data: identify newly owned messages as a subset of the proper subset of messages, based on having keys included in a newly owned subset of keys to which the at least one feed receiver module is assigned as an owner in the key reassignment data; and emit the newly owned messages.
- Claim 8Depends on #7
The data stream processing system of claim 7, wherein each of the proper subset of messages maintained by the at least one feed receiver module includes a corresponding timestamp, and wherein identifying the newly owned messages includes identifying ones of the proper subset of messages having a key included in the newly owned subset of keys and further having timestamps that are more-recent than another timestamp associated with the key for the key reassignment data.
- Claim 9Depends on #8
The data stream processing system of claim 8, wherein the another timestamp is generated based on at least one of: a timestamp of a most recently emitted message for the key by a prior owner for the key indicated in the key assignment data.
- Claim 10Depends on #5
The data stream processing system of claim 5, the operational instructions, when executed by the at least one processor, further cause the data stream processing system to: determine to generate the key reassignment data based on detecting that one feed receiver in the plurality of feed receiver modules undergoes at least one of: a failure condition, or an offline condition; and generate the key reassignment data based on assigning a new one of the plurality of feed receiver modules as the owner for each key in the owned subset of keys assigned to the one feed receiver in the key assignment data; wherein the proper subset of the plurality of feed receiver modules is selected to not include the one feed receiver; and wherein each new one of the plurality of feed receiver modules assigned as the owner for a corresponding key in the owned subset of keys assigned to the one feed receiver in the key assignment data is selected based on being assigned as a follower of the corresponding key in the key assignment data.
- Claim 11Depends on #10
The data stream processing system of claim 10, wherein a set of follower feed receiver modules of the plurality of feed receiver modules are assigned to the each key of the plurality of possible keys in the key assignment data based on: assignment of a same, predefined number of feed receiver modules of the plurality of feed receiver modules to the each key of the plurality of possible keys; and assignment of a set of follower rankings to the set of follower feed receiver modules; wherein the each new one of the plurality of feed receiver modules is further selected based on having a most favorably ranked one of the set of follower rankings of the set of follower feed receiver modules assigned to the corresponding key in the key assignment data.
- Claim 12Depends on #11
The data stream processing system of claim 11, wherein a remaining subset of the set of follower feed receiver modules assigned to the corresponding key in the key assignment data are assigned new follower rankings in the key reassignment data based on preserving an original ordering of the set of follower rankings, and based on incrementing each of the set of follower rankings to generate the new follower rankings.
- Claim 13Depends on #12
The data stream processing system of claim 12, wherein the key reassignment data includes assignment of the same, predefined number of feed receiver modules of the plurality of feed receiver modules to the each key of the plurality of possible keys; wherein a new one of the plurality of feed receiver modules is assigned in each new set of follower feed receiver modules for the corresponding key in the key reassignment data based on the one of the set of follower feed receiver modules assigned to the corresponding key in the key assignment data, and having favorably ranked one of the set of follower rankings, being assigned as the owner for the corresponding key in the key reassignment data; and wherein the new one of the plurality of feed receiver modules for the corresponding key is assigned a least favorable one of the set of follower rankings in the key reassignment data based on incrementing the each of the set of follower rankings to generate the new follower rankings for the remaining subset of the set of follower feed receiver modules of the corresponding key.
- Claim 14Depends on #10
The data stream processing system of claim 10, wherein the one owner feed receiver module of the plurality of feed receiver modules is assigned to each key of the plurality of possible keys for the plurality of incoming messages in the key assignment data based on application of a consistent hashing scheme, and wherein the new one of the plurality of feed receiver modules is assigned as the owner for each key in the owned subset of keys assigned to the one feed receiver in the key reassignment data based on reapplying of the consistent hashing scheme.
- Claim 15Depends on #2
The data stream processing system of claim 2, wherein the plurality of incoming messages are received from a streaming source that streams the plurality of incoming messages in accordance with a non-redundant scheme, and wherein a plurality of messages that includes only owned ones of a proper subset of the plurality of incoming messages are collectively emitted by the plurality of feed receiver modules in accordance with a fault-tolerant scheme with a level of redundancy dictated by a number of feed receiver modules in a set of follower feed receiver modules assigned to each key of the plurality of possible keys in the key assignment data.
- Claim 16Depends on #2
The data stream processing system of claim 2, wherein owned ones of a proper subset of messages of the plurality of incoming messages are emitted to a central data streaming module, and wherein the operational instructions, when executed by the at least one processor, further cause the data stream processing system to: receive, via the central data streaming module, a plurality of messages from the plurality of feed receiver modules that includes only the owned ones of the proper subset of messages emitted via at least one feed receiver module of the plurality of feed receiver modules; and emit, via the central data streaming module, a single data stream that includes the plurality of messages received from the plurality of feed receiver modules.
- Claim 17Depends on #16
The data stream processing system of claim 16, wherein the operational instructions, when executed by the at least one processor, further cause the data stream processing system to: receive, via a data processing module of the data stream processing system, the single data stream from the central data streaming module; generate, via the data processing module, a plurality of computed values generated by performing at least one function upon values included in messages received in the single data stream; and emit, via the data processing module, the plurality of computed values.
- Claim 18Depends on #17
The data stream processing system of claim 17, wherein the operational instructions, when executed by the at least one processor, further cause the data stream processing system to: receiving, via the central data streaming module, the plurality of computed values from the data processing module; and emitting the plurality of computed values to at least one of: a database storage system for long-term storage, or a client device for display to an end user via a display device.
- Claim 19Depends on #2
The data stream processing system of claim 2, wherein a time window is configured based on user input to an interactive interface displayed via a display device of a client device, and wherein only messages of a proper subset of the plurality of incoming messages that compare favorably to the time window are maintained.
- Claim 20Independent Claim
A non-transitory computer readable storage medium comprises: at least one memory section that stores operational instructions that, when executed by a processing module that includes a processor and a memory, causes the processing module to: generate key assignment data indicating assignment of each of a plurality of subsets of a plurality of possible keys to a plurality of feed receiver modules by assigning one owner feed receiver module of the plurality of feed receiver modules to each key of the plurality of possible keys for a plurality of incoming messages, and by further assigning a set of follower feed receiver modules of the plurality of feed receiver modules to the each key of the plurality of possible keys; and process the plurality of incoming messages via the plurality of feed receiver modules based on the key assignment data.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS The present U.S. Utility Patent Application claims priority pursuant to 35 U.S.C. § 120 as a continuation of U.S. Utility application Ser. No. 18/336,348, entitled “ GENERATING KEY ASSIGNMENT DATA FOR MESSAGE PROCESSING ” , filed Jun. 16, 2023, which is a continuation of U.S. Utility application Ser. No. 18/052,985, entitled “ UTILIZING KEY ASSIGNMENT DATA FOR MESSAGE PROCESSING ” , filed Nov. 7, 2022, issued as U.S. Pat. No. 11,743,316 on Aug. 29, 2023, which is a continuation of U.S. Utility application Ser. No. 17/678,570, entitled “ PROCESSING MESSAGES BASED ON KEY ASSIGNMENT DATA ” , filed Feb. 23, 2022, issued as U.S. Pat. No. 11,533,353 on Dec. 20, 2022, which is a continuation of U.S. Utility application Ser. No. 17/119,311, entitled “ FAULT-TOLERANT DATA STREAM PROCESSING ” , filed Dec. 11, 2020, issued as U.S. Pat. No. 11,297,123 on Apr. 5, 2022, all of which are hereby incorporated herein by reference in their entirety and made part of the present U.S. Utility Patent Application for all purposes. STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT Not Applicable. INCORPORATION-BY-REFERENCE OF MATERIAL SUBMITTED ON A COMPACT DISC Not Applicable. BACKGROUND OF THE INVENTION Technical Field of the Invention This invention relates generally to computer networking and more particularly to database system and operation. Description of Related Art Computing devices are known to communicate data, process data, and/or store data. Such computing devices range from wireless smart phones, laptops, tablets, personal computers (PC), work stations, and video game devices, to data centers that support millions of web searches, stock trades, or on-line purchases every day. In general, a computing device includes a central processing unit (CPU), a memory system, user input/output interfaces, peripheral device interfaces, and an interconnecting bus structure. As is further known, a computer may effectively extend its CPU b
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (35)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- A new high performance fabric for HPC, Michael Feldman, May 2016, Intersect360 Research.
- Alechina, N. (2006-2007). B-Trees. School of Computer Science, University of Nottingham, http://www.cs.nott.ac.uk/
- ˜
- psznza/G5BADS06/lecture13-print.pdf. 41 pages.
- Amazon DynamoDB: ten things you really should know, Nov. 13, 2015, Chandan Patra, http://cloudacademy. .com/blog/amazon-dynamodb-ten-thing.
- An Inside Look at Google BigQuery, by Kazunori Sato, Solutions Architect, Cloud Solutions team, Google Inc., 2012.
- Big Table, a NoSQL massively parallel table, Paul Krzyzanowski, Nov. 2011, https://www.cs.rutgers.edu/pxk/417/notes/contentlbigtable.html.
- Distributed Systems, Fall2012, Mohsen Taheriyan, http://www-scf.usc.edu/-csci57212011Spring/presentations/Taheriyan.pptx.
- International Searching Authority; International Search Report and Written Opinion; International Application No. PCT/US2017/054773; Feb. 13, 2018; 17 pgs.
- International Searching Authority; International Search Report and Written Opinion; International Application No. PCT/US2017/054784; Dec. 28, 2017; 10 pgs.