-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config): allow separate config for peer and incoming span queue (#…
…916) ## Which problem is this PR solving? - #826 ## Short description of the changes This PR adds two new configuration option, `Collection.PeerQueueSize` and `Collection.IncomingQueueSize`. This enables users to have more control over each span queue size based on their refinery setup. Before this change, both queue sizes are defined as 3*`Collection.CacheCapacity`. Since the queue size should always be larger than the trace cache, I decided to set the minimum value for both queue size to be 3*`Collection.CacheCapacity`. I'm not sure if there's a use case to have a smaller `PeerQueueSize` if refinery is not running in cluster. I would love to get some feedback on that. fix #826
- Loading branch information
Showing
8 changed files
with
248 additions
and
48 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
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.