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