Skip to content

Conversation

@lobsterkatie
Copy link
Member

@lobsterkatie lobsterkatie commented Nov 24, 2025

This adds three new options, grouping.use_ingest_grouphash_caching, grouping.ingest_grouphash_existence_cache_expiry, and grouping.ingest_grouphash_object_cache_expiry, to control the caching of both a check on secondary grouphash existence and of actual GroupHash objects during ingest. The two expiry times are controlled separately because caching a boolean takes less memory than caching a whole Django ORM object (albeit a quite simple one), so we can probably let things stay in the first cache longer than the second. (We'll know after we turn caching on and see what the respective hit rates are.)

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 24, 2025
@lobsterkatie lobsterkatie marked this pull request as ready for review November 25, 2025 00:11
@lobsterkatie lobsterkatie merged commit 607e93f into master Nov 25, 2025
67 checks passed
@lobsterkatie lobsterkatie deleted the kmclb-add-grouphash-caching-options branch November 25, 2025 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants