From 0d0814fa58dc82071e054394ad71078800f49ee8 Mon Sep 17 00:00:00 2001 From: Donne Martin Date: Tue, 28 Feb 2017 05:08:07 -0800 Subject: [PATCH] Add Cache intro section --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index a49e806..5e32763 100644 --- a/README.md +++ b/README.md @@ -1206,3 +1206,15 @@ Sample data well-suited for NoSQL: * [Scaling up to your first 10 million users](https://www.youtube.com/watch?v=vg5onp8TU6Q) * [SQL vs NoSQL differences](https://www.sitepoint.com/sql-vs-nosql-differences/) + +## Cache + +

+ +
+ Source: Scalable system design patterns +

+ +Caching improves page load times and can reduce the load on your servers and databases. In this model, the dispatcher will first lookup if the request has been made before and try to find the previous result to return, in order to save the actual execution. + +Databases often benefit from a uniform distribution of reads and writes across its partitions. Popular items can skew the distribution, causing bottlenecks. Putting a cache in front of a database can help absorb uneven loads and spikes in traffic.