Caching
Caching
For Example : Instagram profile page which is a static information ,retrieve same information by clicking 10 times , for 1st time its retrieved from server ,for getting information next time onwards it can be store in cache ,inorder to reduce latency for getting response in lesser time.
Instagram profile page Data Retrieval
Two Types:
Memory / Locale Cache :
Example: Memcached
When to be use ?
1. Read Intensive :
2. Static Contents
Distributed / Extended Cache:
Example: Redis
Two Types:
1. Application Server Cache : DB query response query server in cache.
2. CDN
Comments
Post a Comment