Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added a thread pool for ingest decompression * Running small but cpu intensive tasks in a thread pool. This PR removes usage of spawn_blocking for cpu intensive tasks. The problem with spawn_blocking is that these tasks get scheduled on a ever growing thread pool. For instance, when the server is under load, the GZIP decompression of payloads could considerably increase the load factor of quickwit, possibly making it unresponsive to healthcheck. This PR isolates the thread pool used for the searcher, and instantiates a second generic thread pool dedicated to those short cpu-intensive tasks. * Apply suggestions from code review Co-authored-by: Adrien Guillo <adrien@quickwit.io> --------- Co-authored-by: Adrien Guillo <adrien@quickwit.io>
- Loading branch information
1 parent
c5bfe5c
commit 770d8a7
Showing
23 changed files
with
343 additions
and
216 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.