[CONTROLLER-2051] Minimize serialization proxy names in cds-access-api Created: 03/Nov/22  Updated: 02/Dec/22  Resolved: 02/Dec/22

Status: Resolved
Project: controller
Component/s: clustering
Affects Version/s: None
Fix Version/s: 7.0.0

Type: Improvement Priority: Highest
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks CONTROLLER-2061 Deprecate ABIVersion.MAGNESIUM Resolved
blocks CONTROLLER-2063 Remove old cds-access-api proxies Resolved
Relates
relates to CONTROLLER-2056 Minimize serialization proxy names in... Resolved

 Description   

We are currently using verbose names, like LocalHistorySuccessProxyV1. YANG tools is leading the curve here: it has ETv1 for ErrorTag serialization.

Audit all serialization proxies and introduce very short names for each of them – reducing serialization overhead a bit.



 Comments   
Comment by Robert Varga [ 28/Nov/22 ]

This is quite a bit more complicated. Aside from names we also have an abstract class hierarchy – which ends up being serialized, making the sizes in hundreds of bytes, overheads being 300-600 bytes.

Comment by Robert Varga [ 28/Nov/22 ]

The good news is we can enable new proxies with a new ABIVersion. Let's make sure we ship 7.0.0 with this fixed.

Comment by Robert Varga [ 28/Nov/22 ]

persisted entries suffer from similar issues

Generated at Wed Feb 07 19:57:05 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.