Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Storing/updating analysis information on disk #30

Open
vovapolu opened this issue Dec 15, 2019 · 0 comments
Open

Storing/updating analysis information on disk #30

vovapolu opened this issue Dec 15, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@vovapolu
Copy link
Collaborator

The current implementation stores all info in memory, this might lead to OOM errors and slow start of every analysis process for big projects.

The next step is to store all info on disk, read it partially before starting the analysis and update it when source files are changed. But there are several possible problems:

  • Performance. Writing and reading from disk is much slower than from memory. It's quite possible that decrease of performance when working with disk could outweigh benefits.
  • Caching. Change in one core file could lead to cache invalidation in many more files. Considering the decrease of performance when writing on disk it could lead to really slow updates of analysis results. This case are especially important for IDE support.
@vovapolu vovapolu added enhancement New feature or request help wanted Extra attention is needed labels Dec 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant