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

TOMEE-4357 - Add Jandex Index cache - 9.x #1230

Merged
merged 4 commits into from
Jul 5, 2024

Conversation

fataOT
Copy link
Contributor

@fataOT fataOT commented Jul 2, 2024

Add a Jandex index cache to TomEEMicroProfileListener

This will fix a issue with a longer startup time since TomEE 9

The processApplication method is called for every created application and will then create an index for all jars.
But the index is based on the AppInfo of the application. The AppInfo can have multiple applications.
So currently the same index is created for every single application which is unnecessary

This change will boost our start up time from 2min to ~45s

@fataOT fataOT requested a review from rmannibucau July 2, 2024 14:56
@fataOT fataOT requested a review from rmannibucau July 3, 2024 08:23
Copy link
Contributor

@rmannibucau rmannibucau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fataOT fataOT changed the title Add Jandex Index cache Add Jandex Index cache - 9.x Jul 3, 2024
@rzo1 rzo1 changed the title Add Jandex Index cache - 9.x TOMEE-4357 - Add Jandex Index cache - 9.x Jul 3, 2024
@rzo1 rzo1 merged commit bf4602d into apache:tomee-9.x Jul 5, 2024
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