[ 
https://issues.apache.org/jira/browse/IGNITE-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15869815#comment-15869815
 ] 

Alexey Kuznetsov commented on IGNITE-2626:
------------------------------------------

was implemented in IGNITE-3191. To turn on sorting add configuration property

> Binary marshaller: sort fields alphabetically
> ---------------------------------------------
>
>                 Key: IGNITE-2626
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2626
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache, platforms
>    Affects Versions: 1.1.4
>            Reporter: Pavel Tupitsyn
>            Assignee: Alexey Kuznetsov
>             Fix For: 2.0
>
>
> Currently we write object fields in the order they come from reflection.
> 1) There is no guarantee that this order is consistent across multiple calls
> 2) Platforms may have corresponding objects with different field order
> => There are situations when write and read field order is different, which 
> hurts performance.
> Sorting fields alphabetically in Java and platforms will ensure the same 
> ordering.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to