Redis as Write Buffer
It is common to use Redis as read buffer。To read data, first check whether it exists in Redis. If so, use the cached data, otherwise read from the backend storage and save a copy into Redis. To write data, first save into backend storage, then clear or update Reids cache. But if the system bottleneck is in writing, the solution above does not work. But it is easy to modify it into a write buffer.