I just read that companies like Facebook and other tech giants cache content aggressively and 99% times there is a cache hit. What's the best way to design such a system using MongoDB as the data store and Redis (or something similar) as cache layer.
P.S. One problem with Redis is that it can't store nested docs and you need to stringify and save such documents. How do you solve this issue in case you are a Redis user.
No responses yet.