pkolaczk / latte

Latency Tester for Apache Cassandra
Apache License 2.0
176 stars 19 forks source link

Throughput ceiling at 200k-300k req/s #1

Closed pkolaczk closed 3 years ago

pkolaczk commented 3 years ago

There seems to be a throughput ceiling caused by the fact that spawning asynchronous queries is essentially single-threaded. The following operations take surprisingly large amount of time:

With the current design, these operations are serial and don't scale on multicore.

Proposed solution:

To be decided later: should we share a single Session or have each stream its own Session?