-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kafka replay speed: adjust batchingQueueCapacity (#9344)
* kafka replay speed: adjust batchingQueueCapacity I made 2000 up when we were flushing individual series to the channel. Then 2000 might have made sense, but when flushing whole WriteRequests a capacity of 1 should be sufficient. Signed-off-by: Dimitar Dimitrov <[email protected]> * Increase errCh capacity Signed-off-by: Dimitar Dimitrov <[email protected]> * Explain why +1 Signed-off-by: Dimitar Dimitrov <[email protected]> * Set capacity to 5 Signed-off-by: Dimitar Dimitrov <[email protected]> * Update pkg/storage/ingest/pusher.go Co-authored-by: gotjosh <[email protected]> * Improve test Signed-off-by: Dimitar Dimitrov <[email protected]> * Update pkg/storage/ingest/pusher.go --------- Signed-off-by: Dimitar Dimitrov <[email protected]> Co-authored-by: gotjosh <[email protected]>
- Loading branch information
1 parent
13b5f99
commit ad22540
Showing
2 changed files
with
47 additions
and
3 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