docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/Strategies.html
2 Users
0 Comments
39 Highlights
0 Notes
Tags
Top Highlights
adds data or updates data in the cache whenever data is written to the database.
data is written to the cache only when there is a cache miss,
Lazy loading allows for stale data but doesn't fail with empty nodes
aching strategies
Lazy loading
ommon cache maintenance strategies and their advantages and disadvantages
loads data into the cache only when necessar
our application next writes the data received from the store to the cache.
This way, it can be more quickly retrieved the next time it's requested.
These misses can cause a noticeable delay in data getting to the application.
here is a cache miss penalty
Write-through
Advantages and disadvantages of lazy loadin
Advantages and disadvantages of write-through
The advantages of write-through are as follows:
Data in the cache is never stale.
he advantages of lazy loading are as follows: Only requested data is cached.
The disadvantages of lazy loading are as follows:
Stale data.
If the data exists in the cache and is curren
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.