Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 617 Bytes

README.rst

File metadata and controls

11 lines (7 loc) · 617 Bytes

NOTE: this example was written using an older version of the cassandra-driver (pre-3.0). It requires some updates to be used with 3.0+.

Example code accompanying a blog post on driver multiprocessing.

Each script is self-contained for easy side-by-side comparison. To run:

ccm create -v 2.1.6 -n 1 -s cassandra216x1

single_process_concurrent.py <iterations>
multiprocess_execute.py <iterations> <# pool processes>
multiprocess_concurrent.py <iterations> <# pool processes>