Im going to implement CDN, but im still confuse how the CDN recognize where the request come from. for example, I have 2 servers. one in US and one in Japan. when request come from Hong Kong, I want the contents served from Japan server, because it closer. So, how the CDN can recognize the request from Hong Kong and serve contents from Japan?
If in cluster, we have load-balancer to distribute workload, how about CDN to serving contents from specific server depending on request location?
Thanks in advance