-
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.
[libbeat] Implement early event encoding for the Elasticsearch output (…
…#38572) Add early-encoding support to the queue and the Elasticsearch output. Early event encoding lets outputs provide helpers that can perform output serialization on an event while it is still in the queue. This early encoding is done in the memory queue's producers, and in the disk queue's reader loop. Benchmarks while writing to Elasticsearch showed significant improvements (reported numbers were measured on Filebeat with a filestream input). Memory reduction in each preset relative to past versions: | Preset | `main` | 8.13.2 | 8.12.2 | | ---------- | ------ | ------ | ------ | | balanced | 21% | 31% | 41% | | throughput | 43% | 47% | 56% | | scale | 23% | 35% | 46% | | latency | 24% | 24% | 41% | CPU reduction for each preset relative to `main` (earlier versions had negligible difference): | Preset | CPU reduction | | ---------- | ------------- | | balanced | 7% | | throughput | 19% | | scale | 7% | | latency | 9% |
- Loading branch information
Showing
39 changed files
with
678 additions
and
297 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
Oops, something went wrong.