Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Performance
-
Low Hanging Fruit
-
All
-
None
-
Description
On profiling a write-heavy workload (90% writes) using easy-cass-stress, it became very clear StorageProxy::updateCoordinatorWriteLatencyTableMetric was a hot path that ~15% of the CPU cycles of ModificationStatement::executeWithoutCondition were taken up by (see attached async-profiler image).
We should convert this stream to a simple for loop, as has been discussed recently on the mail list.
easy-cass-stress command:
$ bin/easy-cass-stress run KeyValue -n 10m --maxwlat 10 -r 0.1 --rate 20000 --compaction twcs
Attachments
Attachments
Issue Links
- is cloned by
-
CASSANDRA-19679 Stream processing for SimpleRestriction::bindAndGetClusteringElements
- Resolved
- is related to
-
CASSANDRA-19673 Investigate stream pipelines in hot paths
- Open
- links to