Sijie Guo created DL-111:
----------------------------
Summary: 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
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)