-
Story
-
Resolution: Duplicate
-
Medium
-
None
- Current Caffeine Cache is single instance (application level) cache
- Upgrade scenarios and multiple CPS instances forced us to use distributed cache instead
- Test without cache turned out to be unacceptable for (de)registration use cases and even OoME's
Introduce Hazelcast Cache to solve above
Remove Caffeine Cache (incl. dependencies)
cache should follow/replace org.onap.cps.api.impl.YangTextSchemaSourceSetCache same KEY and Value!!!
A/C
- Performance test for (de)registration should be at least as good as with Caffeine Cache. If not report with team/stakeholders
- Showcase cache-hits using Prometheus instrumentation/logging
- Update RTD documentation for HazelCast configuration