-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor internal buffer chain in the memory queue (#37795)
- Refactor the buffered and unbuffered memory queue implementations into a single object - Use a ring buffer for both cases (previously the buffered case used a linked list of independent buffers) - Simplify the behavior of `queue.mem.flush.min_events` so it can't starve output workers when enough data is ready (previously it interacted in complicated ways with `bulk_max_size`, now it serves as a simple maximum on allowable event batch size).
- Loading branch information
Showing
13 changed files
with
708 additions
and
1,024 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 was deleted.
Oops, something went wrong.
Oops, something went wrong.