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

Enhance repositories cache #56

Open
tcalmant opened this issue Aug 24, 2015 · 0 comments
Open

Enhance repositories cache #56

tcalmant opened this issue Aug 24, 2015 · 0 comments
Assignees

Comments

@tcalmant
Copy link
Member

Currently, only the descriptions of the Python modules parsed by cohorte.repositories.python.modules is stored in a cache.
The cache is a JSON file containing a JSON array.
This helps to speed up the loading of the monitor isolate but isn't sufficient.

The cache should be implemented for both Python and Java bundles, but also for the component factories repositories (iPOPO and iPOJO).
That way, the monitor isolate wouldn't have to parse the bundles at each startup.

The cache could be either stored in a JSON file and fully loaded at startup.
It could also be stored in a SQLite database : the repositories implementations could therefore execute requests to this database instead of loading it entirely. This might reduce the memory usage of the monitor isolate.

Also, the cache DB for the Cohorte Home repository could be generated at installation or at release time.

@debbabi debbabi added this to the 1.1.1 milestone Aug 24, 2015
@debbabi debbabi self-assigned this Aug 24, 2015
@debbabi debbabi modified the milestones: 1.1.2, 1.1.1 Sep 16, 2015
@debbabi debbabi modified the milestones: 1.3.0, 1.1.2 Apr 19, 2016
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

2 participants