spring-projects / spring-projects/spring-tools

[aot repositories] avoid reading the aot metadata file over and over again

Open
#1,549 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

for: eclipse for: vscode theme: spring-data-support type: enhancement
Dominant language
Java
Stars
983
Forks
240
Avg merge
7d 1h
Merged PRs (30d)
7

Description

Optimization: instead of reading the aot metadata JSON file every time we need to access the data, cache the information and update/clear the cache when necessary.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies the AOT metadata JSON file and the AOT repositories as the relevant entry points, but names no source files or tests. First locate where that metadata file is read and where repository data changes; then trace the required cache invalidation paths. Done means repeated access avoids redundant reads while updates and clears still expose current metadata, with relevant tests added or updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.