Project

General

Profile

Actions

Task #1976

closed

Displaying cache usage and add possibility to clean it.

Added by Ondrej Husník about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Peter Štrunc
Category:
Cache
Target version:
Start date:
12/04/2019
Due date:
% Done:

100%

Estimated time:
24.00 h
Owner:

Description

Create a new FE agenda which is able to show usage of IdM cache (number of files/memory size) and possibility to clean it.
- New CacheManager will be created - will be reusing Spring cache manager abstraction.
- New Dto representing cache will be created
- New FE agenda will be created (Setting > Modules > Cache) - e.g. Setting > Modules > Backend modules for inspiration. Columns with cache name and size will be shown. Filter is not needed right now.
- Cache can be evicted.


Related issues

Related to IdStory Identity Manager - Task #2016: Use Idm cache manager in all places in applicationClosedPeter Štrunc01/23/2020

Actions
Related to IdStory Identity Manager - Task #2024: Configure cluster friendly cache manager for distributed cacheClosedPeter Štrunc01/27/2020

Actions
Actions #1

Updated by Ondrej Husník about 5 years ago

  • Assignee set to Ondrej Husník
Actions #2

Updated by Radek Tomiška almost 5 years ago

  • Description updated (diff)
  • Category set to Cache
  • Assignee changed from Ondrej Husník to Peter Štrunc
  • Target version set to 10.1.0
  • Estimated time set to 24.00 h
Actions #3

Updated by Radek Tomiška almost 5 years ago

  • Description updated (diff)
Actions #4

Updated by Peter Štrunc almost 5 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

Created FE agenda and BE for this feature. Basic functionality is working (displaying caches and ability to clean them).

TODO:
  • Finish tests
  • Cleanup code
  • Documentation

Code is in pstrunc/1976-cache-agenda

Actions #5

Updated by Peter Štrunc almost 5 years ago

This looks promising https://micrometer.io/docs/ref/cache. What do you think guys? @tomiskar @svandav

Actions #6

Updated by Peter Štrunc almost 5 years ago

  • % Done changed from 30 to 60

Done cleaning up the code. Added javadoc and messages to FE. I also wrote some tests to cover new functionality.

Code is again pushed in pstrunc/1976-cache-agenda

TODO:
  • wiki documentation
Actions #7

Updated by Peter Štrunc almost 5 years ago

Added "evict all" button and refresh button + test

Actions #8

Updated by Radek Tomiška almost 5 years ago

  • Related to Task #2016: Use Idm cache manager in all places in application added
Actions #9

Updated by Peter Štrunc almost 5 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Peter Štrunc to Radek Tomiška
  • % Done changed from 60 to 80

Documentation is here https://wiki.czechidm.com/devel/documentation/caching

@tomiskar would you please review this ticket?

Actions #10

Updated by Radek Tomiška almost 5 years ago

  • Related to Task #2024: Configure cluster friendly cache manager for distributed cache added
Actions #11

Updated by Radek Tomiška almost 5 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Radek Tomiška to Peter Štrunc
  • % Done changed from 80 to 100

I did test and code review, new agenda and documentation is awesome, thx! I merged it into develop.

I found just minor notes, will be included here #2016.

Actions #12

Updated by Radek Tomiška almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF