Upload
hayato-yoshikawa
View
451
Download
0
Embed Size (px)
Citation preview
GAEHow to make GAE adapt the Great Firewall
App Engine ja night #1 ‑ LT
2 Mar. 2017
bit.ly/gae‑china
@hayatoy
GAE/Py 7~8 ?
APAC
TensorFlow
Presenter
"Local district in Shanghai" by me
Motivation
Web +10
GAE
*.appspot.com
Image API CDN get_serving_url()
‑> lhx.ggpht.com
Mail API mail.send_mail()
Google Account users.get_current_user()
Don't give up... Cleave to hope tillthe very end. When you give up,that's when the game is over.
‑ Prof. Anzai
“
appspot.com
Custom Domain khttp, https OK
CNAME ghs.googlehosted.com www
CNAME ghs-svc-https-cXX.ghs-ssl.googlehosted.com www
DNS 8.8.8.8
lhx.ggpht.com
Non‑SSL Public GCS Custom Domain
class BlahBlahDownload(blobstore_handlers.BlobstoreDownloadHandler): def get(self, key): key = str(urllib.unquote(key))
blob_info = blobstore.BlobInfo.get(key)
# Edge cache self.response.cache_control = 'public'
self.response.cache_control.max_age = 300
self.send_blob(blob_info)
Edge Cache
Mail API
Custom Domain MX OK
Google Account
Google Account
WebSitePulse http://www.websitepulse.com/help/testtools.china‑
test.html
http(s)
GFW Timeout
Google Analytics
NG
API OK
*