[jira] [Updated] (CASSANDRA-17998) Mutation Serialization Caching

2022-12-19 Thread T Jake Luciani (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

T Jake Luciani updated CASSANDRA-17998:
---
Fix Version/s: 4.2
   (was: 4.x)
   Resolution: Fixed
   Status: Resolved  (was: Ready to Commit)

Committed as 
[https://github.com/apache/cassandra/commit/227409d9201fa1aeb9f80b22f499577aedfe25bc]

 

Final CI 
[j8|https://app.circleci.com/pipelines/github/tjake/cassandra/15/workflows/14cfc77f-5f19-49cb-8ff3-de2ea81f25a6]
 & 
[j11|https://app.circleci.com/pipelines/github/tjake/cassandra/15/workflows/53d342fa-ca65-4dec-bda5-5227e2a70b56]

 

Final benchmark 
[result|https://tjake.github.io/other/cassandra-17998-report.html?metric=Ops_Sec=nb_bench%3Amain.result-success_filter=.%2B=1_aggregates=true_ops=0=0=1353.01=0=88328.35]
  > 8% throughput gain

 

> 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
>Assignee: T Jake Luciani
>Priority: Normal
> Fix For: 4.2
>
>
> 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. 
>  
> GH PR: https://github.com/apache/cassandra/pull/1954
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17998) Mutation Serialization Caching

2022-12-19 Thread T Jake Luciani (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

T Jake Luciani updated CASSANDRA-17998:
---
Status: Ready to Commit  (was: Changes Suggested)

> 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
>Assignee: T Jake Luciani
>Priority: Normal
> Fix For: 4.x
>
>
> 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. 
>  
> GH PR: https://github.com/apache/cassandra/pull/1954
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17998) Mutation Serialization Caching

2022-12-19 Thread T Jake Luciani (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

T Jake Luciani updated CASSANDRA-17998:
---
Source Control Link: 
https://github.com/apache/cassandra/commit/227409d9201fa1aeb9f80b22f499577aedfe25bc

> 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
>Assignee: T Jake Luciani
>Priority: Normal
> Fix For: 4.x
>
>
> 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. 
>  
> GH PR: https://github.com/apache/cassandra/pull/1954
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17998) Mutation Serialization Caching

2022-11-29 Thread Josh McKenzie (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh McKenzie updated CASSANDRA-17998:
--
Status: Changes Suggested  (was: Review In Progress)

> 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
>Assignee: T Jake Luciani
>Priority: Normal
> Fix For: 4.x
>
>
> 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. 
>  
> GH PR: https://github.com/apache/cassandra/pull/1954
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17998) Mutation Serialization Caching

2022-11-04 Thread Josh McKenzie (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh McKenzie updated CASSANDRA-17998:
--
Status: Review In Progress  (was: Patch Available)

> 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
>Assignee: T Jake Luciani
>Priority: Normal
> Fix For: 4.x
>
>
> 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. 
>  
> GH PR: https://github.com/apache/cassandra/pull/1954
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17998) Mutation Serialization Caching

2022-11-02 Thread Josh McKenzie (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh McKenzie updated CASSANDRA-17998:
--
Reviewers: Josh McKenzie

> 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
>Assignee: T Jake Luciani
>Priority: Normal
> Fix For: 4.x
>
>
> 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. 
>  
> GH PR: https://github.com/apache/cassandra/pull/1954
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17998) Mutation Serialization Caching

2022-10-28 Thread T Jake Luciani (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

T Jake Luciani updated CASSANDRA-17998:
---
Test and Documentation Plan: CI
 Status: Patch Available  (was: In Progress)

> 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
>Assignee: T Jake Luciani
>Priority: Normal
> Fix For: 4.x
>
>
> 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. 
>  
> GH PR: https://github.com/apache/cassandra/pull/1954
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17998) Mutation Serialization Caching

2022-10-26 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-17998:

Fix Version/s: 4.x
   (was: 4.2)

> 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
>Assignee: T Jake Luciani
>Priority: Normal
> Fix For: 4.x
>
>
> 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. 
>  
> GH PR: https://github.com/apache/cassandra/pull/1954
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17998) Mutation Serialization Caching

2022-10-26 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-17998:

Change Category: Performance
 Complexity: Challenging
 Status: Open  (was: Triage Needed)

> 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
>Assignee: T Jake Luciani
>Priority: Normal
>
> 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. 
>  
> GH PR: https://github.com/apache/cassandra/pull/1954
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17998) Mutation Serialization Caching

2022-10-26 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-17998:

Fix Version/s: 4.x

> 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
>Assignee: T Jake Luciani
>Priority: Normal
> Fix For: 4.x
>
>
> 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. 
>  
> GH PR: https://github.com/apache/cassandra/pull/1954
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17998) Mutation Serialization Caching

2022-10-26 Thread T Jake Luciani (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

T Jake Luciani updated CASSANDRA-17998:
---
Fix Version/s: 4.2
   (was: 4.x)

> 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
>Assignee: T Jake Luciani
>Priority: Normal
> Fix For: 4.2
>
>
> 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. 
>  
> GH PR: https://github.com/apache/cassandra/pull/1954
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17998) Mutation Serialization Caching

2022-10-26 Thread T Jake Luciani (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-17998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

T Jake Luciani updated CASSANDRA-17998:
---
Description: 
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. 

 

GH PR: https://github.com/apache/cassandra/pull/1954

 

  was:
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. 

 

 


> 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
>Assignee: T Jake Luciani
>Priority: Normal
>
> 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. 
>  
> GH PR: https://github.com/apache/cassandra/pull/1954
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org