I am considering using shared array to distribute large amounts of data to child processes in multiprocessing. However, I begin to wonder whether this will work for multiprocessing across computing nodes. Presumably, shared array will not work across nodes since they don’t share memory. Therefore, I would like to make every node own a copy of the shared array. However, I find it difficult to write such a program. What’s the programming pattern for such a purpose?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Alternative to SharedArrays for multi-node cluster? | 9 | 1103 | April 20, 2020 | |
How to create SharedArrays on other workers | 9 | 1015 | February 3, 2020 | |
Memory Usage and SharedArrays | 8 | 1405 | December 6, 2019 | |
Destruction of Shared Array does not work anymore | 0 | 309 | August 25, 2018 | |
Can i have SharedArrays on several different machines? Hybrid parallel model | 3 | 572 | December 2, 2016 |