Software Architecture, Software Engineering, Software Development, Distributed Systems, Caching.
Redis cache, which can be configured in turn to update the database. Write Through Pros Ensures consistency between the cache and the underlying datastore Cons Transactional complexity as we now need some kind of a 2-phase commit logic to ensure that both the cache and the database update (if not