You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dmitry Konstantinov (Jira)" <ji...@apache.org> on 2026/05/24 15:40:00 UTC

[jira] [Created] (CASSANDRA-21402) Avoid type lookup in SerializationHeader#getType if schema and SSTable are aligned

Dmitry Konstantinov created CASSANDRA-21402:
-----------------------------------------------

             Summary: Avoid type lookup in SerializationHeader#getType if schema and SSTable are aligned
                 Key: CASSANDRA-21402
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21402
             Project: Apache Cassandra
          Issue Type: Improvement
          Components: Local/SSTable
            Reporter: Dmitry Konstantinov
            Assignee: Dmitry Konstantinov
         Attachments: image-2026-05-24-16-36-12-733.png

 Cell.Serializer#deserialize lookup an actual type for every cell using SerializationHeader#getType, it is ~27% of a cell deserialization CPU cost and ~5% of total CPU cost for a read scenario (10 row partition select, CPU bound)

if schema and SSTable are aligned we can avoid this lookup.

 !image-2026-05-24-16-36-12-733.png|width=800! 



--
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