Hi, Have you tried batching calls to execute_async with periodic blocking for the batch’s responses? I’ve witnessed this behavior as well with large or no batches and while I didn’t have time to investigate fully its likely due to message queuing behavior within Cassandra (pre-4.0). Smaller batches or execute() alleviates the queueing issues and spreads the load more evenly across the time quanta being measured.
Jordan On Wed, Dec 11, 2019 at 12:09 AM lampahome <pahome.c...@mirlab.org> wrote: > I submit 1 row for 40960 times by session.execute() and > session.execute_async() > > I found total time of execute() is always fast than execute_async > > Does that make sense? Or I miss the details of theri? >