Skip to content

CaffeineCache should be using blocking instead of delay  #739

@froth

Description

@froth

Caffeine is based on ConcurrentHashMap which uses locks when writing and therefore at least the write operations can lead to blocking the current thread. Therefore from my understanding it should be wrapped in blocking instead of delay.

https://github.com/cb372/scalacache/blob/master/modules/caffeine/src/main/scala/scalacache/caffeine/CaffeineCache.scala

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions