Skip to content

Commit

Permalink
Fix spelling in docs (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcrail authored and mrocklin committed Mar 30, 2018
1 parent 01ad1cb commit 35efe12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/source/async.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ this section.*

When using time-based flow control like ``rate_limit``, ``delay``, or
``timed_window`` Streamz relies on the Tornado_ framework for concurrency.
This allows us to handle many conncurent operations cheaply and consistently
This allows us to handle many concurrent operations cheaply and consistently
within a single thread. However, this also adds complexity and requires some
understanding of asynchronous programming. There are a few different ways to
use Streamz with a Tornado event loop.
Expand Down Expand Up @@ -119,15 +119,15 @@ threads or processes.
Using Dask
----------

Dask_ is a parellel computing library that uses Tornado for concurrency and
Dask_ is a parallel computing library that uses Tornado for concurrency and
threads for computation. The ``DaskStream`` object is a drop-in replacement
for ``Stream`` (mostly). Typically we create a Dask client, and then
``scatter`` a local Stream to become a DaskStream.

.. code-block:: python
from dask.distributed import Client
client = Client(processes=False) # starts thread pool, IOLoop in seaprate thread
client = Client(processes=False) # starts thread pool, IOLoop in separate thread
from streamz import Stream
source = Stream()
Expand All @@ -142,7 +142,7 @@ for ``Stream`` (mostly). Typically we create a Dask client, and then
This operates very much like the synchronous case in terms of coding style (no
``@gen.coroutine`` or ``yield``) but does computations on separate threads.
This also provies parallelism and access to a dashboard at
This also provides parallelism and access to a dashboard at
http://localhost:8787/status .


Expand Down

0 comments on commit 35efe12

Please sign in to comment.