[
https://issues.apache.org/jira/browse/DL-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sijie Guo resolved DL-111.
--------------------------
Resolution: Fixed
Assignee: Sijie Guo
Fix Version/s: 0.4.0
> ReadAhead Cache should cache entries rather than records
> --------------------------------------------------------
>
> Key: DL-111
> URL: https://issues.apache.org/jira/browse/DL-111
> Project: DistributedLog
> Issue Type: Improvement
> Reporter: Sijie Guo
> Assignee: Sijie Guo
> Fix For: 0.4.0
>
>
> Current readahead cache cache records. So it will be a lot of callbacks
> (function calls) when polling a record off the read
> ahead cache. Most of the cpu cycles are unnecessarily spent
> on function calls on polling records off the readahead cache. It is the
> throughput bottleneck for a DL reader.
> This change is to change ReadAhead cache to cache entries rather than
> records. Defer the deserilization of records later on
> when the reader wants to access the records. It also make
> the cache more efficient to reduce the memory footprint.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)