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

Write records to cache immediately #843

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Write records to cache immediately #843

merged 1 commit into from
Jun 6, 2024

Conversation

bennybp
Copy link
Contributor

@bennybp bennybp commented Jun 6, 2024

Description

When fetching records via the cache, records were not written immediately to the cache. Instead, the cache was hooked up via the writeback mechanism.

This was way too slow, especially for complicated records like torsiondrive. So now we write them immediately. Records currently don't have proper change tracking, so any modifications to the record won't be reflected in the cache, but that should be added someday.

Status

  • Code base linted
  • Ready to go

@bennybp bennybp merged commit b66b1b0 into main Jun 6, 2024
19 checks passed
@bennybp bennybp deleted the imm_cache branch June 6, 2024 20:34
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.

1 participant