...
Assumptions
Assumption | Notes | Sign-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 | |
---|---|---|---|
1 | Preferred Alternative | CPS Team prefers Alternative 2 | Team and stakeholders agreed on Alternative 2 |
2 | Integration or jUnit Test First | Agreed but only possible using Unit Test (stil using real cache etc.) |
Solution Proposals
Alternative 0: Remove existing cache
...
Pro | Con | |
---|---|---|
1 | Update CPS-Core to produce and consume Kafka messages | |
2 | More Kafka messages (new interface) | |
3 | No unnecessary validation | |
4 | Upgrade itself not delayed |
Alternative 2 (chosen): Clear Cache upon validation error
- Worst case scenario: an update (with newly modelled data) happens before cache expiry. Update gets reject (fails validation)
- mitigation: Invalidate cache upon validation error and try again (once)
...