Skip to content

perf: Use Set instead of List for druid.request.logging.mutedQueryTypes#19404

Merged
abhishekrb19 merged 1 commit into
apache:masterfrom
abhishekrb19:change_filtered_mute_set
May 5, 2026
Merged

perf: Use Set instead of List for druid.request.logging.mutedQueryTypes#19404
abhishekrb19 merged 1 commit into
apache:masterfrom
abhishekrb19:change_filtered_mute_set

Conversation

@abhishekrb19
Copy link
Copy Markdown
Contributor

Update druid.request.logging.mutedQueryTypes to use a Set instead of a List.
Set lookups are faster than list-based lookups, which can matter at high QPS when filtered logging with multiple muted types is enabled on servers.

This PR has:

  • been self-reviewed.
  • been tested in a test Druid cluster.

@abhishekrb19 abhishekrb19 force-pushed the change_filtered_mute_set branch from f8a79f9 to 639227d Compare May 4, 2026 21:37
Copy link
Copy Markdown
Contributor

@GWphua GWphua left a comment

Choose a reason for hiding this comment

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

LGTM

@abhishekrb19 abhishekrb19 merged commit d96ecfc into apache:master May 5, 2026
38 checks passed
@abhishekrb19 abhishekrb19 deleted the change_filtered_mute_set branch May 5, 2026 03:25
@github-actions github-actions Bot added this to the 38.0.0 milestone May 5, 2026
317brian pushed a commit to 317brian/druid that referenced this pull request May 11, 2026
…logger (apache#19404)

Update druid.request.logging.mutedQueryTypes to use a Set instead of a List.
Set lookups are faster than list-based lookups, which can matter at high QPS when filtered logging with multiple muted types is enabled on servers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants