Custom stream partitioning services
Abstract
Techniques are disclosed for partitioning received data for use in a data stream. Data is received during a period of time at a device, such as a data partitioner. The device a) determines that a first subset of the data is for a first system component, b) a second subset of the data is for a second system component, and c) a third subset of the data is for the first system component. Also, determines that a first stream partition is mapped to the first system component and a second stream partition is mapped to the second system component. Based on these determinations, the device assigns the first and third subsets of the data to the first stream partition and the second subset of the data to the second stream partition. Thereafter, the device transmits a stream that includes the first stream partition and the second stream partition.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 1.
Claims (17 — 3 Independent, 14 Dependent)
- Claim 1Independent Claim
A non-transitory computer readable medium comprising instructions which, when executed by one or more hardware processors, causes performance of operations comprising: receiving data over a period of time; subsequent to receiving a first subset of the data during the period of time: determining that the first subset of the data is to be transmitted to or stored at a first system component, determining that a first stream partition is mapped to the first system component, and assigning the first subset of the data to the first stream partition; subsequent to assignment of the first subset of the data to the first stream partition: delaying transmission of the first stream partition until occurrence of: (a) an expiration of a maximum delay, or (b) an amount of data assigned for transmission in the first stream partition exceeds a transmission threshold; subsequent to receiving a second subset of the data during the period of time: determining that the second subset of the data is to be transmitted to or stored at a second system component, determining that a second stream partition is mapped to the second system component, and assigning the second subset of the data to the second stream partition; subsequent to receiving a third subset of the data during the period of time: determining that the third subset of the data is to be transmitted to or stored at the first system component, and assigning the third subset of the data to the first stream partition; and transmitting a stream comprising the first stream partition and the second stream partition, wherein the first and third subsets of the data are transmitted in the first stream partition, and wherein the second subset of the data is transmitted in the second stream partition.
- Claim 2Depends on #1
The non-transitory computer readable medium as recited in claim 1, wherein the first subset of the data and the third subset of the data are transmitted in a same instance of the first stream partition.
- Claim 3Depends on #1
The non-transitory computer readable medium as recited in claim 1, wherein the first subset of the data and the third subset of the data are transmitted in different instances of the first stream partition.
- Claim 4Depends on #1
The non-transitory computer readable medium as recited in claim 1, wherein determining that the first subset of the data is to be transmitted to or stored at the first system component comprises: identifying characteristics associated with the first subset of the data; determining a key based on the characteristics associated with the first subset of the data; and mapping the key to the first system component.
- Claim 5Depends on #4
The non-transitory computer readable medium as recited in claim 4, wherein the characteristics associated with the first subset of the data comprise: a tenancy namespace, a log index, and a timing window.
- Claim 6Depends on #1
The non-transitory computer readable medium as recited in claim 1, wherein the data comprises log data, wherein the first subset of the data comprises tenant log data for a first log set of the tenant, wherein the second subset of the data comprises tenant log data for a second log set of the tenant, and wherein the third subset of the data comprises tenant log data for the first log set of the tenant.
- Claim 7Independent Claim
A system comprising: at least one hardware processor; and a non-transitory computer readable medium comprising instructions which, when executed by the at least one hardware processor, causes performance of operations comprising: receiving data over a period of time; subsequent to receiving a first subset of the data during the period of time: determining that the first subset of the data is to be transmitted to or stored at a first system component, determining that a first stream partition is mapped to the first system component, and assigning the first subset of the data to the first stream partition; subsequent to assignment of the first subset of the data to the first stream partition: delaying transmission of the first stream partition until occurrence of: (a) an expiration of a maximum delay, or (b) an amount of data assigned for transmission in the first stream partition exceeds a transmission threshold; subsequent to receiving a second subset of the data during the period of time: determining that the second subset of the data is to be transmitted to or stored at a second system component, determining that a second stream partition is mapped to the second system component, and assigning the second subset of the data to the second stream partition; subsequent to receiving a third subset of the data during the period of time: determining that the third subset of the data is to be transmitted to or stored at the first system component, and assigning the third subset of the data to the first stream partition; and transmitting a stream comprising the first stream partition and the second stream partition, wherein the first and third subsets of the data are transmitted in the first stream partition, and wherein the second subset of the data is transmitted in the second stream partition.
- Claim 8Depends on #7
The system as recited in claim 7, wherein the first subset of the data and the third subset of the data are transmitted in a same instance of the first stream partition.
- Claim 9Depends on #7
The system as recited in claim 7, wherein the first subset of the data and the third subset of the data are transmitted in different instances of the first stream partition.
- Claim 10Depends on #7
The system as recited in claim 7, wherein determining that the first subset of the data is to be transmitted to or stored at the first system component comprises: identifying characteristics associated with the first subset of the data; determining a key based on the characteristics associated with the first subset of the data; and mapping the key to the first system component.
- Claim 11Depends on #10
The system as recited in claim 10, wherein the characteristics associated with the first subset of the data comprise: a tenancy namespace, a log index, and a timing window.
- Claim 12Depends on #7
The system as recited in claim 7, wherein the data comprises log data, wherein the first subset of the data comprises tenant log data for a first log set of the tenant, wherein the second subset of the data comprises tenant log data for a second log set of the tenant, and wherein the third subset of the data comprises tenant log data for the first log set of the tenant.
- Claim 13Independent Claim
A method comprising: receiving data over a period of time; subsequent to receiving a first subset of the data during the period of time: determining that the first subset of the data is to be transmitted to or stored at a first system component, determining that a first stream partition is mapped to the first system component, and assigning the first subset of the data to the first stream partition; subsequent to assignment of the first subset of the data to the first stream partition: delaying transmission of the first stream partition until occurrence of: (a) an expiration of a maximum delay, or (b) an amount of data assigned for transmission in the first stream partition exceeds a transmission threshold; subsequent to receiving a second subset of the data during the period of time: determining that the second subset of the data is to be transmitted to or stored at a second system component, determining that a second stream partition is mapped to the second system component, and assigning the second subset of the data to the second stream partition; subsequent to receiving a third subset of the data during the period of time: determining that the third subset of the data is to be transmitted to or stored at the first system component, and assigning the third subset of the data to the first stream partition; and transmitting a stream comprising the first stream partition and the second stream partition, wherein the first and third subsets of the data are transmitted in the first stream partition, wherein the second subset of the data is transmitted in the second stream partition, and wherein the method is performed by a computing device comprising at least one hardware processor.
- Claim 14Depends on #13
The method as recited in claim 13, wherein the first subset of the data and the third subset of the data are transmitted in a same instance of the first stream partition.
- Claim 15Depends on #13
The method as recited in claim 13, wherein the first subset of the data and the third subset of the data are transmitted in different instances of the first stream partition.
- Claim 16Depends on #13
The method as recited in claim 13, wherein determining that the first subset of the data is to be transmitted to or stored at the first system component comprises: identifying characteristics associated with the first subset of the data; determining a key based on the characteristics associated with the first subset of the data; and mapping the key to the first system component, wherein the characteristics associated with the first subset of the data comprise: a tenancy namespace, a log index, and a timing window.
- Claim 17Depends on #13
The method as recited in claim 13, wherein the data comprises log data, wherein the first subset of the data comprises tenant log data for a first log set of the tenant, wherein the second subset of the data comprises tenant log data for a second log set of the tenant, and wherein the third subset of the data comprises tenant log data for the first log set of the tenant.
Technical Overview & Description
INCORPORATION BY REFERENCE; DISCLAIMER The following application is hereby incorporated by reference: application No. 63/322,112 filed on Mar. 21, 2022. The applicant hereby rescinds any disclaimer of claims scope in the parent application(s) or the prosecution history thereof and advise the USPTO that the claims in the application may be broader that any claim in the parent application(s). TECHNICAL FIELD The present disclosure relates to the use of a custom stream partitioner for streaming data across multiple stream partitions. BACKGROUND Collecting and processing data in a data stream is an increasingly common alternative to, or complement to, more traditional database architectures. A data stream may include a series of discrete or interrelated data requests, data inquiries, data blocks, data bundles, data packets, events, etc. In various approaches, the series may include transactions that are time-indexed, sequentially-ordered, periodic, triggered, or randomly issued. Examples of these transactions may include data queries and requests, clickstream data (e.g., webpage requests, webpage renderings, mobile application transactions), changes to variable values (e.g., as collected by sensors like temperature data collected from a smart thermostat, steps taken measured by a pedometer, etc.), and the like. Some applications or systems generate a vast amount of data (e.g., multiple terabytes of data per day) and transmit this data to a system for storage and/or delivery to some consumer. Sometimes, a data stream may be generated from this data for consumption by one or more processes subscribed to the data stream. Many common types of data that are generated by these applications may be small in size or grouped together in small units (e.g., data bundles, data packets, etc.) that are small in size. The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Therefore, u
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,696,245 B2 | System and method to reduce packet error rates for larger fragments through payload normalization | 2026 | 0 |
References Cited — Backward Prior Art (12)
Non-Patent Literature (10)
- “
- Introduction to Caches
- ”
- , Retrieved from https://docs.oracle.com/cd/E15357_01/coh.360/e15723/cache_intro.htm#COHDG5049, Retrieved on Dec. 5, 2022, 12 Pages.
- “
- Production Checklist
- ”
- , Coherence Administrator's Guide, Retrieved from https://docs.oracle.com/cd/E24290_01/coh.371/e22838/deploy_checklist.htm#COHAG5095, Retrieved on Dec. 3, 2022, 12 Pages.
- Narkhede N.,
- “