In your web service there is a time you want to let user know that they have got comment on their post, got message, got news etc. Like ones that I see on top right at Facebook, Twitter. Today I want to make the same thing using Redis Cache.
In-memory cache is a good choice when it comes to frequently accessed and disposable data. Redis Cache is even nice that they can store structure data. For C#ers, you can define data model and just insert up and fetch from cache into the model.