Caching Flashcards
External caching
cache data that’s going to be returned to users (images, videos, static content)
Internal caching
- used to speed up databases
- The less we talk to the database, the better
What do caches help with?
Speed. Put them everywhere, and favor answers that use a cache.
CloudFront for caching
- External cache
- CDN
- improves delivery times by delivering data, apps, APIs to edge locations globally to reduce latency
What kind of cache is ElastiCache?
- Internal cache
Global Accelerator as a Cache
speeds up external connections
How can you put a secure connection on S3 static websites?
CloudFront
- attach a custom SSL certificate
- or create signed URLs or signed cookies
Is CloudFront global distribution used for blocking or picking countries?
No, you can only pick continents (use WAF instead)
How do you block individual countries?
- Use WAF
- CloudFront is only good at continents
CloudFront TTL
Time to live expiry for content expiration
For the exam, how can you solve every sort of external customer performance issue?
Put CloudFront in front of the application
What is the main purpose of CloudFront edge locations?
Speed
Can you do CloudFront on-prem?
Yes. On-Prem and AWS.
Can you pick a specific edge location?
No
What is ElastiCache?
a managed version of two open source technologies:
- memcached
- redis
it sits in front of a relational database