From 33c523b02cf0405232cc3769db85e1432a0a23ef Mon Sep 17 00:00:00 2001 From: Tyler Hobbs Date: Wed, 28 May 2014 11:38:33 -0500 Subject: [PATCH] Add link to cassandra.concurrent in Performance docs --- docs/performance.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/performance.rst b/docs/performance.rst index 404a6dbf..8ba9aed9 100644 --- a/docs/performance.rst +++ b/docs/performance.rst @@ -244,6 +244,11 @@ dramatically: Until this is improved, you should limit the number of callback chains you run. +For many use cases, you don't need to implement this pattern yourself. You can +simply use :meth:`cassandra.concurrent.execute_concurrent` and +:meth:`cassandra.concurrent.execute_concurrent_with_args`, which implement +this pattern for you with a synchronous API. + PyPy ---- Almost all of these patterns become CPU-bound pretty quickly with CPython, the