-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eagerness of windows should be configurable
common-streams has a feature in which a timed window of events is allowed to start processing before the previous window has finalized. This is a great feature for making full use of available cpu. It means are are always working the cpu hard, even if some slow I/O is required to finalize the window. Until now, the eagerness only stretched to consecutive windows. E.g. If window 1 is still finalizing then it is allowed for window 2 to start processing; but it is not allowed for window 3 to start processing. For Lake Loader I found it is better to let the eagerness stretch further. E.g. window 3 is allowed to start processing even if windows 1 and 2 are both still finalizing. I also found it is better to allow consecutive windows to be finalizing at the same time. E.g. window 2 can start its finalization even if window 1 is still finishing its finalization. This PR makes configurable how many windows may start eagerly ahead of a finalzing window.
- Loading branch information
Showing
3 changed files
with
476 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.