Skip to content
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

santad: Bump QoS of notify handling queue #1342

Merged
merged 4 commits into from
May 9, 2024

Conversation

russellhancox
Copy link
Collaborator

The use of the background queue is a historical artifact from when Santa had its own kernel extension with separate in-kernel queues for processing AUTH & NOTIFY type events. With the move to ES and the larger number of event types that we now notify on, running at the background QoS carries a small risk that the thread processing these events is not given a chance to run often enough that the queue grows and increases memory usage.

@russellhancox russellhancox requested a review from a team as a code owner May 9, 2024 18:55
Copy link
Contributor

@pmarkowsky pmarkowsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

The use of the background queue is a historical artifact from when Santa had its own kernel extension with separate in-kernel queues for processing AUTH & NOTIFY type events. With the move to ES and the larger number of event types that we now notify on, running at the background QoS carries a small risk that the thread processing these events is not given a chance to run often enough that the queue grows and increases memory usage.
mlw
mlw previously approved these changes May 9, 2024
@mlw mlw added the santad Work related to the Santa Daemon label May 9, 2024
@mlw mlw added this to the 2024.5 milestone May 9, 2024
@russellhancox russellhancox merged commit f00ad32 into google:main May 9, 2024
11 checks passed
@russellhancox russellhancox deleted the notify-queue-priority branch May 9, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
santad Work related to the Santa Daemon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants