# US 2022/0292102 A1 · Pluggable join framework for stream processing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0292102 A1
- Document ID: US20220292102A1
- Status: Published application
- Kind: A1
- Application number: 17/826,419
- Filed: 2022-05-27
- Published: 2022-09-15
- Earliest claimed: 2020-05-22
- Assignees: Yahoo Assets LLC
- Applicants: Yahoo Assets LLC
- Inventors: David WILLCOX; Maulik SHAH; Allie K. WATFA; George ALEKSANDROVICH
- Web page: https://patentgrep.com/patent/US20220292102A1

## CPC

- G06F 16/24573: {using data annotations, e.g. user-defined metadata}
- G06F 9/4418: {Suspend and resume; Hibernate and awake}
- G06F 16/1734: {Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs}
- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F 16/24552: {Database cache management}
- G06F 16/24568: {Data stream processing; Continuous queries}
- G06F 16/248: Presentation of query results
- G06F 16/254: {Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed are embodiments for providing batch performance using a stream processor. In one embodiment, a method is disclosed comprising receiving an event, such as a streaming event, from a client. The method determines that the event comprises a primary event and, if so, writes the primary event to a cache and returning the primary event to the client. The method later receives a second event from the client, the second event associated with the first event, annotates the second event based on the primary event, and returns the annotated second event to the client.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method comprising:
receiving a streaming event from a client;
determining that the streaming event comprises a secondary event and that a corresponding primary event was not written to a cache;
marking the streaming event as un-joined;
writing the streaming event to the cache; and
returning the marked streaming event to the client.

### Claim 22 (depends on 21)

The method of claim 21, further comprising receiving a primary streaming event prior to receiving the streaming event and writing the primary streaming event to a cache and returning the primary streaming event to the client.

### Claim 23 (depends on 22)

The method of claim 22, further comprising annotating the streaming event based on the primary streaming event and returning the annotated streaming event to the client.

### Claim 24 (depends on 22)

The method of claim 22, further comprising writing the primary streaming event to a backing store after the writing the primary streaming event to the cache.

### Claim 25 (depends on 22)

The method of claim 22, further comprising marking the primary streaming event as in-order and returning the primary streaming event to the client before receiving the second event.

### Claim 26 (depends on 22)

The method of claim 22, the determining the primary streaming event comprises a primary event comprising querying the cache for one or more secondary events.

### Claim 27 (depends on 22)

The method of claim 22, further comprising:
retrieving the streaming event from the cache;
annotating the streaming event using the primary streaming event;
marking the corresponding primary streaming event and the streaming event as out-of-order; and
returning the corresponding primary streaming event and streaming event to the client.

### Claim 28 (depends on 21)

The method of claim 21, further comprising writing the streaming event to a delay cache and sleeping until receiving a corresponding primary event.

### Claim 29

A non-transitory computer-readable storage medium for tangibly storing computer program instructions capable of being executed by a computer processor, the computer program instructions defining steps of:
receiving a streaming event from a client;
determining that the streaming event comprises a secondary event and that a corresponding primary event was not written to a cache;
marking the streaming event as un-joined;
writing the streaming event to the cache; and
returning the marked streaming event to the client.

### Claim 30 (depends on 29)

The non-transitory computer-readable storage medium of claim 29, further comprising receiving a primary streaming event prior to receiving the streaming event and writing the primary streaming event to a cache and returning the primary streaming event to the client.

### Claim 31 (depends on 30)

The non-transitory computer-readable storage medium of claim 30, further comprising annotating the streaming event based on the primary streaming event and returning the annotated streaming event to the client.

### Claim 32 (depends on 30)

The non-transitory computer-readable storage medium of claim 30, further comprising writing the primary streaming event to a backing store after the writing the primary streaming event to the cache.

### Claim 33 (depends on 30)

The non-transitory computer-readable storage medium of claim 30, further comprising marking the primary streaming event as in-order and returning the primary streaming event to the client before receiving the second event.

### Claim 34 (depends on 30)

The non-transitory computer-readable storage medium of claim 30, the determining the primary streaming event comprises a primary event comprising querying the cache for one or more secondary events.

### Claim 35 (depends on 30)

The non-transitory computer-readable storage medium of claim 30, further comprising:
retrieving the streaming event from the cache;
annotating the streaming event using the primary streaming event;
marking the corresponding primary streaming event and the streaming event as out-of-order; and
returning the corresponding primary streaming event and streaming event to the client.

### Claim 36 (depends on 29)

The non-transitory computer-readable storage medium of claim 29, further comprising writing the streaming event to a delay cache and sleeping until receiving a corresponding primary event.

### Claim 37

An apparatus comprising a processor configured to:
receive a streaming event from a client;
determine that the streaming event comprises a secondary event and that a corresponding primary event was not written to a cache;
mark the streaming event as un-joined;
write the streaming event to the cache; and
return the marked streaming event to the client.

### Claim 38 (depends on 37)

The apparatus of claim 37, the processor further configured to receive a primary streaming event prior to receiving the streaming event and writing the primary streaming event to a cache and returning the primary streaming event to the client.

### Claim 39 (depends on 38)

The apparatus of claim 38, the processor further configured to annotate the streaming event based on the primary streaming event and returning the annotated streaming event to the client.

### Claim 40 (depends on 37)

The apparatus of claim 37, the processor further configured to write the streaming event to a delay cache and sleeping until receiving a corresponding primary event.
