Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-8344

about kahadb cache evict policy

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • KahaDB
    • None

    Description

      Hi, I read activemq kahadb soruce code. I find two problems as below:

      1. Only lfu cache evict policy was provided. If we can provide more cache evict policy here, such as lru lruk? As we all known, there are a lot of cache ecict policy.
      2. Lfu policy provided in source code is not prefect. You can think if the hot data cached in it first, but after that, hot data was never visited or quered, they can’t be evicted. Or some not very hot data visited, but because they are not very hot like hot data, as a result, some of cache was occupied by hot data. In other world, the cache was not very effective in this situation.

             Thanks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            domson Jianjiang Mu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: