directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MAVIBOT-16) Store the raw (ie, byte[]) values for keys and values, instead of deserializing the full page
Date Tue, 12 Nov 2013 18:30:18 GMT

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

Emmanuel Lecharny resolved MAVIBOT-16.
--------------------------------------

    Resolution: Fixed

Fixed with http://svn.apache.org/r1538151

> Store the raw (ie, byte[]) values for keys and values, instead of deserializing the full
page
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAVIBOT-16
>                 URL: https://issues.apache.org/jira/browse/MAVIBOT-16
>             Project: Mavibot
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-M2
>            Reporter: Emmanuel Lecharny
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.0.0-M3
>
>
> We always deserialize all the keys/values when we read a page from disk. This is not
necessary, if the page is likely to be discarded from the cache. It's better to keep the raw
value (byte[]) and deseralize them on the fly. Its also faster when we write back the page
on the disk.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message