Skip to content

Write records to cache immediately - #843

Merged
bennybp merged 1 commit into
mainfrom
imm_cache
Jun 6, 2024
Merged

Write records to cache immediately#843
bennybp merged 1 commit into
mainfrom
imm_cache

Conversation

@bennybp

@bennybp bennybp commented Jun 6, 2024

Copy link
Copy Markdown
Contributor

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
@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