Skip to content

consider optimising loading of the resources #677

@konstan

Description

@konstan

- [ ] 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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions