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

Optimize logic around invalidation #2019

Merged
merged 11 commits into from
Jan 9, 2025
Merged

Optimize logic around invalidation #2019

merged 11 commits into from
Jan 9, 2025

Conversation

habdelra
Copy link
Contributor

@habdelra habdelra commented Jan 8, 2025

This PR optimizes our invalidation logic such that we don't have to consult the DB to discover which files to invalidate if we already know the entire realm needs invalidation. Note that this results in a realm creation time of about 20-25 sec in staging

TODO:

  • convert console.log() to log.debug() for a performance category

Copy link

github-actions bot commented Jan 8, 2025

Host Test Results

    1 files  ±0      1 suites  ±0   20m 37s ⏱️ -16s
725 tests ±0  723 ✔️ ±0  2 💤 ±0  0 ±0 
730 runs  ±0  728 ✔️ ±0  2 💤 ±0  0 ±0 

Results for commit e8a615e. ± Comparison against base commit b24ab77.

♻️ This comment has been updated with latest results.

@habdelra habdelra marked this pull request as ready for review January 8, 2025 22:25
@habdelra habdelra requested a review from a team January 8, 2025 22:25
@habdelra habdelra merged commit 73c9da3 into main Jan 9, 2025
47 checks passed
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