You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Richard Yu (JIRA)" <ji...@apache.org> on 2019/03/04 01:03:00 UTC

[jira] [Issue Comment Deleted] (KAFKA-8020) Consider changing design of ThreadCache

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

Richard Yu updated KAFKA-8020:
------------------------------
    Comment: was deleted

(was: For optimal insertion times, we would probably use hierarchical time wheels which is used in Kafka requests (purgatory). It would be faster than using a priority queue and could be created on demand. )

> Consider changing design of ThreadCache 
> ----------------------------------------
>
>                 Key: KAFKA-8020
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8020
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Richard Yu
>            Priority: Major
>
> In Kafka's design of ThreadCache, what is currently being used is a traditional LRU Cache. However, as time progressed, more efficient designs for cache eviction policies were designed, particularly LFU Cache. There are however drawbacks because of these policies' difficulty to implement and 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)