Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
concurrency :shared
and sync codecs to optimize performance
As part of this refactor the `message_format` option had to be (finally) obsoleted.It was previously deprecated for quite some time. This provides a nice boost: Before: ``` time bin/logstash -e "input { generator { count => 3000000} } filter { } output { file { path => '/tmp/newfileout'} }" Settings: Default pipeline workers: 8 Pipeline main started Pipeline main has been shutdown stopping pipeline {:id=>"main"} 139.95 real 223.61 user 28.93 sys ``` After ``` rm /tmp/newfileout; time bin/logstash -e "input { generator { count => 3000000} } filter { } output { file { codec => json_lines path => '/tmp/newfileout'} }" ; ls -lh /tmp/newfileout Settings: Default pipeline workers: 8 Pipeline main started Pipeline main has been shutdown stopping pipeline {:id=>"main"} 56.12 real 192.99 user 17.38 sys ``` Fixes #46
- Loading branch information
Showing
4 changed files
with
71 additions
and
70 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