[BUILD-367] Add caffeine dependency Created: 12/Feb/20  Updated: 14/Feb/20  Resolved: 12/Feb/20

Status: Closed
Project: Build
Component/s: Poms
Affects Version/s: BOM 6.2
Fix Version/s: BOM 6.2

Type: Task
Reporter: Jesus Alonso Assignee: Jesus Alonso
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to EXTDAM-13 Have caching mechanism for connection... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: DAMs backend
Sprint: Add-Ons 31
Story Points: 0.5

 Description   

We need to add caffeine dependency into the BOM.



 Comments   
Comment by Mikaël Geljić [ 13/Feb/20 ]

Hi jalonso, mind explaining why/where we need caffeine in particular, say over Guava's CacheBuilders/Loaders? e.g. describing computational load, async population. Might as well link ticket to a DAM story.

Comment by Jesus Alonso [ 13/Feb/20 ]

Hi mgeljic, quoting caffeine's documentation:

Caffeine is a high performance, near optimal caching library based on Java 8. For more details, see our user's guide and browse the API docs for the latest release.

Caffeine provides an in-memory cache using a Google Guava inspired API. The improvements draw on our experience designing Guava's cache and ConcurrentLinkedHashMap.

In particular, caffeine is extensively used in addon components, so we wanted to included the dependency into the BOM. The specific ticket would be -> EXTDAM-13. You might be interested in this PR -> https://git.magnolia-cms.com/projects/ADDON/repos/addon-commons/pull-requests/1/overview

 

Generated at Sun Feb 11 23:41:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.