Y-Statement (structured decision record)
Sentence
In the context of API read hot paths and repeated database access, facing latency without false confidence in cache as truth, we have decided for Redis for short-lived read-through cache entries with strict keying and invalidation in order to faster user-visible paths with TTL discipline and the DB as authority, accepting that we accept Redis as an operational component and more careful review of cache code.
Fields (same content, for reviews)
- Context: API read hot paths and repeated database access
- Concern: latency without false confidence in cache as truth
- Stance / subject: for / Redis for short-lived read-through cache entries with strict keying and invalidation
- Intended outcome: faster user-visible paths with TTL discipline and the DB as authority
- Deliberate tradeoff: we accept Redis as an operational component and more careful review of cache code