Closed cchoquette closed 4 years ago
See branch: https://github.com/georgianpartners/foreshadow/tree/manager You can test by using: python -m foreshadow/config.py and debug (using the test): foreshadow/tests/test_config.test_get_config_only_sys (using pycharm).
ColumnSharer is process safe now.
Description
As we all know and love, threads have shared memory. Unfortunately, processes don't and this pipeline leverages joblib to run multiple processes for separate columns (see parallelprocessor). Consequently, the shared dicts of config and columnsharer will be copied to each memory space and will not be updated in sync. This problem will need to be fixed for the full integration by replacing the builtin dicts with processor safe versions.
Estimate: 2 day