Write-Behind (Write-Back) Caching with Redis

Write-through keeps the cache and database consistent by writing to both synchronously, which makes writes as slow as the database.