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

consider optimising loading of the resources #677

Open
1 task
konstan opened this issue Apr 27, 2022 · 0 comments
Open
1 task

consider optimising loading of the resources #677

konstan opened this issue Apr 27, 2022 · 0 comments

Comments

@konstan
Copy link
Contributor

konstan commented Apr 27, 2022

- [ ] An improvement can be applied that will minimize the time spent during the scanning and discovery of the resources with the initialize function. This can be done simply as a list of the namespaces that contain the resources to be loaded. When a new resource is added to the code-base it must be added to the list. Discarded in favor of the implementation provided here #811.

At the same time, it was later understood that the search for the namespaces can be considered negligible compared to the impact of the optimization suggested in the second point. But taking into account some cases when the NS loading order is important (e.g. event NS must be loaded before others), this must be considered by the parallelization of the creation of index+mapping (below).

  • Also, the process of adding the resources (creation of the index and the mapping) can be parallelized (as the resources are independent).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant