Published on 01/10/2019
1 min read
- a system of distributed servers (network) that deliver webpages/content to a user BASED ON GEOGRAPHICAL location, depending on the user's proximity to a give server within the network.
- Amazon's product name for CDN service they provide.
Edge Location: The location where the content will be cached. (separate from the AWS region)
Origin: Origin of all files that the CDN will distribute (often a s3 bucket, but also can be EC2, Elastic Load Balancer, or Route53)
Distribution: Name given the CDDN which consists of a collection of Edge Locations.
Two Main types of Distributions
- Web Distribution - static files/websites
- RTP - streaming media files, like videos
- makes SECOND requests for assets faster.
- i.e. user1 makes request to nearest edge location, edge location checks if it has file, it doesn't, pulls from source and caches for 'time to live' (TTL) period, user2 makes request to same edge location, receives content much faster.