Skip to content

Experiment: cache data classes by LSID - #7922

Merged
labkey-nicka merged 4 commits into
developfrom
fb_data_class_perf
Aug 10, 2026
Merged

Experiment: cache data classes by LSID#7922
labkey-nicka merged 4 commits into
developfrom
fb_data_class_perf

Conversation

@labkey-nicka

@labkey-nicka labkey-nicka commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Rationale

This updates the caching of data classes to account for when they are requested solely by LSID. This mimics what is done for sample type caching in SampleTypeServiceImpl.

Changes

  • Introduce cache of LSID to container identifier
  • Resolve data class from container when possible

Tasks

  • Claude Code Review
  • Test Automation
  • Manual Testing

@labkey-nicka labkey-nicka self-assigned this Aug 10, 2026
@labkey-nicka
labkey-nicka requested a review from a team August 10, 2026 17:12
@labkey-nicka labkey-nicka added this to the 26.09 milestone Aug 10, 2026
@labkey-nicka
labkey-nicka merged commit 49469c6 into develop Aug 10, 2026
12 checks passed
@labkey-nicka
labkey-nicka deleted the fb_data_class_perf branch August 10, 2026 20:37
@labkey-jeckels

Copy link
Copy Markdown
Contributor

@labkey-nicka I don't think this is working as intended. After running the tests, Admin Console->Caches shows 809 misses and gets but zero puts.

image

@labkey-nicka
labkey-nicka restored the fb_data_class_perf branch August 10, 2026 21:50
@labkey-nicka
labkey-nicka deleted the fb_data_class_perf branch August 10, 2026 21:50
@labkey-nicka

Copy link
Copy Markdown
Contributor Author

@labkey-nicka I don't think this is working as intended. After running the tests, Admin Console->Caches shows 809 misses and gets but zero puts.

Oops. Good find. I've updated the logic to actually populate the LSID-keyed cache. See #7924.

image

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.

3 participants