You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "T Jake Luciani (Jira)" <ji...@apache.org> on 2022/10/26 21:12:00 UTC
[jira] [Created] (CASSANDRA-17998) Mutation Serialization Caching
T Jake Luciani created CASSANDRA-17998:
------------------------------------------
Summary: Mutation Serialization Caching
Key: CASSANDRA-17998
URL: https://issues.apache.org/jira/browse/CASSANDRA-17998
Project: Cassandra
Issue Type: Improvement
Components: Messaging/Internode
Reporter: T Jake Luciani
A performance change that adds mutation serialization caching to avoid re-serializing the mutation for commitlog and nodes twice.
* Cached serialization for storage proxy and local commitlog
* Cached deserialization for messaging service and local commitlog
This yields a non trivial perf gain (~7-10%) and latency drop (median)
[https://tjake.github.io/other/cached-mutations-report.html]
The cached buffer is stored by MessagingService version to avoid being used by differing nodes during upgrades.
Also, It avoids caching mutations larger than a threshold to avoid GC issues.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org