ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (IGNITE-1961) Binary reader: do not read field position from footer in case of successful speculation.
Date Mon, 23 Nov 2015 08:06:11 GMT

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

Vladimir Ozerov closed IGNITE-1961.
-----------------------------------

> Binary reader: do not read field position from footer in case of successful speculation.
> ----------------------------------------------------------------------------------------
>
>                 Key: IGNITE-1961
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1961
>             Project: Ignite
>          Issue Type: Task
>          Components: general, interop
>    Affects Versions: ignite-1.4
>            Reporter: Vladimir Ozerov
>            Assignee: Vladimir Ozerov
>            Priority: Critical
>             Fix For: 1.5
>
>
> Currently we are trying to speculatively guess field ID and order. If speculation succeeds
(which is almost always true during normal deserialization) we have pretty cool performance
gain.
> However, when speculation succeeds we still reads field position from footer. There is
no need for this actually. Instead, we can rely on the fact that stream is already positioned
correctly.
> To employ this technique we must ensure that when field is read, stream pointer is always
set right after the field. Currently this is not the case for "unmarshal" and "doReadPortableObject"
methods in reader. They must be reworked to allow for this opto.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message