June 2019
Intermediate to advanced
218 pages
5h 19m
English
We saw that DArray objects are stored across multiple nodes, and operating on the local parts in each node is most efficient. However, since each worker node can also talk to all other worker nodes, DArray objects are also good for tiled operations, where each node operates on its own data and limited amounts of data from its immediate neighbors. Hence, algorithms such as convolutions or Conway's Game of Life are good candidates.
As an example, let's show you the code for Conway's Game of Life implemented using distributed arrays:
Read now
Unlock full access