-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory-sensitive collector queue size #943
Comments
This does not seem related to #355, correct? Maybe retitle to "memory-sensitive queue size" rather than "dynamic". |
So there are a bunch of algorithms that have been studied and used for network scheduling (https://en.wikipedia.org/wiki/Network_scheduler). My suggestion is either to reimplement one of them directly, or potentially leverage existing OS configurations to drop packets from spans according to one of those existing strategies. |
This is not related to #355. This is about automatically adjusting the queue size based on the known span sizes and available memory, to make optimal usage of the assigned resources. |
Requirement - what kind of business use case are you trying to solve?
Avoiding dropping of spans on the collector side when the backing storage isn't really fast, but enough memory is available for a bigger buffer on the collector size
Problem - what in Jaeger blocks you from solving the requirement?
Under stress conditions, the default queue size of 2000 causes spans to be dropped quite frequently, even though there's enough memory to have a bigger queue size
Proposal - what do you suggest to solve the problem or improve the existing situation?
The first idea is to have a dynamic collector queue size, with the following characteristics
The text was updated successfully, but these errors were encountered: