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

Roman Puchkovskiy updated IGNITE-23630:
---------------------------------------
    Description: 
Implementations of CatalogObjectSerializer currently store object IDs (which 
are ints) as just ints (4 bytes each).

It makes sense to use varint encoding for these values as it will give us the 
following benefits:
 # varints are more compact (except for non-realistic cases when there are more 
than 268 million objects)
 # the format will be automatically backward-compatible with storing object IDs 
as longs (if we decide to extend them from ints to longs)

> Store catalog object IDs as varints
> -----------------------------------
>
>                 Key: IGNITE-23630
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23630
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>
> Implementations of CatalogObjectSerializer currently store object IDs (which 
> are ints) as just ints (4 bytes each).
> It makes sense to use varint encoding for these values as it will give us the 
> following benefits:
>  # varints are more compact (except for non-realistic cases when there are 
> more than 268 million objects)
>  # the format will be automatically backward-compatible with storing object 
> IDs as longs (if we decide to extend them from ints to longs)



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

Reply via email to