sc_parallel#
Functions to allow parallelization to be performed easily.
NB: Uses multiprocess instead of multiprocessing under the hood for
broadest support across platforms (e.g. Jupyter notebooks).
- Highlights:
sc.parallelize(): as-easy-as-possible parallelizationsc.loadbalancer(): very simple load balancer
Classes
Parallelization manager |
Functions
Execute a function in parallel. |
|
Delay execution while CPU load is too high -- a very simple load balancer. |
|
Alias to |
|
Takes a snapshot of current CPU usage via |
|
Takes a snapshot of current fraction of memory usage via |