Description
I know, another issue about multiprocessing...
I was reading up on multiprocessing and sharing caches among those processes and it seems as if we need something like multiprocessing.SyncManager
to allow accessing a cache between multiple processes.
I think it would be worthwhile to explore whether we can make AstroidManager
a SyncManager
that needs to be instantiated by whoever needs it rather than having it be a singleton.
However, before spending considerable time exploring this I want to see if others have had tries at this or other ideas about allowing pylint
and astroid
to "parse modules and nodes in multiple process while keeping a cache between those processes".
Taggin @jacobtylerwalls in particular as they have tinkered with this as well.