-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement batching for peer forwarder request documents (#2197)
* Implement batching for peer forwarder request documents Signed-off-by: Chase Engelbrecht <engechas@amazon.com> * Add configurable forwarding_batch_timeout for low-traffic scenarios Signed-off-by: Chase Engelbrecht <engechas@amazon.com> * Slight refactors and add unit tests for batching Signed-off-by: Chase Engelbrecht <engechas@amazon.com> * Increase YAML deserialization size Signed-off-by: Chase Engelbrecht <engechas@amazon.com> * Refactor for clarity and flush all available batches on each iteration Signed-off-by: Chase Engelbrecht <engechas@amazon.com> * Fix typo in FORWARDING Signed-off-by: Chase Engelbrecht <engechas@amazon.com> * Use getOrDefault when checking last flushed time Signed-off-by: Chase Engelbrecht <engechas@amazon.com> --------- Signed-off-by: Chase Engelbrecht <engechas@amazon.com>
- Loading branch information
Showing
12 changed files
with
336 additions
and
54 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
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
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
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.