[ 
https://issues.apache.org/jira/browse/ARTEMIS-4349?focusedWorklogId=877923&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-877923
 ]

ASF GitHub Bot logged work on ARTEMIS-4349:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Aug/23 18:12
            Start Date: 23/Aug/23 18:12
    Worklog Time Spent: 10m 
      Work Description: jbertram commented on PR #4584:
URL: 
https://github.com/apache/activemq-artemis/pull/4584#issuecomment-1690414525

   I wonder if we should detect when size = 0, set the cache to `null`, and 
check for `null` before writing to or reading from the cache. Then we wouldn't 
be wasting CPU on caching entries that are just going to be removed or 
attempting to get items from the cache that we know aren't there.
   
   Thoughts?
   




Issue Time Tracking
-------------------

    Worklog Id:     (was: 877923)
    Time Spent: 8h 20m  (was: 8h 10m)

> Replace Guava cache with Caffeine
> ---------------------------------
>
>                 Key: ARTEMIS-4349
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4349
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>    Affects Versions: 2.29.0
>            Reporter: Alexey Markevich
>            Priority: Major
>          Time Spent: 8h 20m
>  Remaining Estimate: 0h
>
> based on benchmark https://github.com/ben-manes/caffeine/wiki/Benchmarks



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to