Skip to content

Commit

Permalink
parallel processing example
Browse files Browse the repository at this point in the history
  • Loading branch information
svenkreiss committed May 22, 2017
1 parent ea9fc73 commit a856e42
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/sphinx/parallel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ Single machine parallelization either with
``multiprocessing.Pool`` is supported.


.. code-block:: python
sc = pysparkling.Context(
pool=concurrent.futures.ProcessPoolExecutor(4),
serializer=cloudpickle.dumps,
deserializer=pickle.loads,
)
ipcluster and IPython.parallel
------------------------------

Expand Down

0 comments on commit a856e42

Please sign in to comment.