...
Alternative 1: (existing) Kafka Message without confirmation
Notes
- Caffeine cache has an expiry (1h /) So NOT all models are cached all the time
- 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 (consider this as an extension alternative 1a )
Pro | Con | |
---|---|---|
1 | ||
2 |
Alternative 2: (existing) Kafka Message with (new) Kafka Confirmation
...