Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Assumptions


AssumptionNotesSign-off
1

Solution should be CPS-Core based not just in NCMP

Caffeine Cache is a CPS-Core solution
Upgrade is also possible without NCMP
2

Upgrades are backward compatible


Issues & Decisions


Issue

Notes 

Decision

1Preferred AlternativeCPS Team prefers Alternative 2

  Team and stakeholders agreed on Alternative 2

2Integration or jUnit Test First
Agreed but only possible using Unit Test (stil using real cache etc.)

Solution Proposals

Alternative 0: Remove existing cache

...


ProCon
1
Update CPS-Core to produce and consume Kafka messages
2
More Kafka messages (new interface)
3No unnecessary validation
4Upgrade itself not delayed

Alternative 2 (chosen): Clear Cache upon validation error

  1. Worst case scenario: an update (with newly modelled data) happens before cache expiry. Update gets reject (fails validation)
    1. mitigation: Invalidate cache upon validation error and try again (once)

...