apache / apache/beam

Consider adding information to ProcessBundleRequest indicating there is no existing state

Open
#21,339 0 comments 0 reactions 0 assignees View on GitHub
beam-model improvement P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

This allows for skipping all state fetches made during processing this key, preloading the cache with empty values for the key, or extending the cache to include this negative state information to avoid fetches as long as no state is evicted for the key.

This is particularly beneficial in sparse key streaming pipelines where such new keys are common.

It could also be used to avoid fetches in batch pipelines where there is no persisted state.

Imported from Jira [BEAM-13684](https://issues.apache.org/jira/browse/BEAM-13684). Original Jira may contain additional context.
Reported by: scwhittle.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.