Live data from Hacker News

Google has quietly launched a CDN

venturebeat.com

41–46 of 46 posts

Re: Google has quietly launched a CDN

#41

Earlier quoted context omitted.

The best part about it, I automatically write to three caches whenever I write to GAE datastore. One to the instance, one to memcache and one to Google's edge cache. It's just part of the GAE api, you get it for free.

Do you have a link that support your third assertion? How does writing to the GAE datastore also put the entity into the edge cache?

OK, I'm actually wrong here. You still have to write headers to get it to go into the edge cache. So from the Python API for webapp2:

  self.response.cache_control = 'public'
  self.response.cache_control.max_age = 300
Does the trick

Re: Google has quietly launched a CDN

#42
post #37
post #33

Earlier quoted context omitted.

Cloudfront is not available in China. We had to implement a small CDN for a large ecommerce website. What we did was use geo-ip route 53 and route chinese ips to load balanced nginx instances caching the cloudfront cdn. What compounds the problem with China is that the chinese are very much used to requesting an english language variant of the webstore as its often cheaper. This circumvents the CDN however as all sta…

I've a few instances in aliyun (alibaba cloud) to monitor the traffic from time to time, Cloudfront works for me now, while googleapis.com is blocked. I cannot convince myself not to use a politically neutral company (or China friendly) like AWS, Azure.. when I am considering the CDN service.

Oh yeah its accessable from China. But I meant that there is no cloudfront edge region in China so chinese customers must cross the firewall and it is really really slow for them.

Re: Google has quietly launched a CDN

#43
post #17

Earlier quoted context omitted.

I have pretty strong doubts that the Google Cloud Platform team would have convinced the broader organisation to host customer stuff on their mission critical caches. As I understand it, there's not a lot of dogfooding (let alone cooperation!) between GCP and Google.

A small counterpoint: I saw a talk recently that discussed charging other Google teams for using GCP resources to discourage wastefulness.

My understanding is the accounting for services process happened prior to GCP, and isn't about GCP resources.

Re: Google has quietly launched a CDN

#44
post #43

Earlier quoted context omitted.

A small counterpoint: I saw a talk recently that discussed charging other Google teams for using GCP resources to discourage wastefulness.

My understanding is the accounting for services process happened prior to GCP, and isn't about GCP resources.

The talk specifically discussed GCP being free for internal use and one of it's costlier services being used without any thought being put toward optimization. Once they started charging they optimized and used dramatically less.

Re: Google has quietly launched a CDN

#45

Earlier quoted context omitted.

Do you have a link that support your third assertion? How does writing to the GAE datastore also put the entity into the edge cache?

OK, I'm actually wrong here. You still have to write headers to get it to go into the edge cache. So from the Python API for webapp2: self.response.cache_control = 'public' self.response.cache_control.max_age = 300 Does the trick

That just sets the responses cache control headers. It doesn't put anything in the edge cache

Re: Google has quietly launched a CDN

#46

Earlier quoted context omitted.

OK, I'm actually wrong here. You still have to write headers to get it to go into the edge cache. So from the Python API for webapp2: self.response.cache_control = 'public' self.response.cache_control.max_age = 300 Does the trick

That just sets the responses cache control headers. It doesn't put anything in the edge cache

... the headers trigger storing into the edge cache.
Post reply on HN