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

Performance of Resource processing #38

Open
natan-cox-cognizone opened this issue Nov 24, 2021 · 0 comments
Open

Performance of Resource processing #38

natan-cox-cognizone opened this issue Nov 24, 2021 · 0 comments

Comments

@natan-cox-cognizone
Copy link
Collaborator

Some Spring Resources are fetched 1000s of times in case they are commonly used resources such as queries. Reading resource each time is not good for performance and we should optimize it.

A couple of options

  • a wrapper which caches the most commonly used methods in Resource like getPath, getInputstream etc
  • a smarter SpelService which does caching for any Resource
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

No branches or pull requests

1 participant