distributedlog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sijie Guo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DL-111) ReadAhead Cache should cache entries rather than records
Date Tue, 06 Dec 2016 17:15:58 GMT
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)

Mime
View raw message