Download - How to make GAE adapt the Great Firewall
![Page 1: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/1.jpg)
GAEHow to make GAE adapt the Great Firewall
App Engine ja night #1 ‑ LT
2 Mar. 2017
bit.ly/gae‑china
![Page 2: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/2.jpg)
@hayatoy
GAE/Py 7~8 ?
APAC
TensorFlow
Presenter
"Local district in Shanghai" by me
![Page 3: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/3.jpg)
Motivation
![Page 4: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/4.jpg)
![Page 5: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/5.jpg)
Web +10
![Page 6: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/6.jpg)
GAE
![Page 7: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/7.jpg)
*.appspot.com
Image API CDN get_serving_url()
‑> lhx.ggpht.com
Mail API mail.send_mail()
Google Account users.get_current_user()
![Page 8: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/8.jpg)
Don't give up... Cleave to hope tillthe very end. When you give up,that's when the game is over.
‑ Prof. Anzai
“
![Page 9: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/9.jpg)
![Page 10: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/10.jpg)
appspot.com
![Page 11: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/11.jpg)
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
![Page 12: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/12.jpg)
lhx.ggpht.com
![Page 13: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/13.jpg)
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
![Page 14: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/14.jpg)
Mail API
Custom Domain MX OK
![Page 15: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/15.jpg)
Google Account
![Page 16: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/16.jpg)
Google Account
![Page 17: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/17.jpg)
![Page 18: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/18.jpg)
WebSitePulse http://www.websitepulse.com/help/testtools.china‑
test.html
http(s)
GFW Timeout
![Page 19: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/19.jpg)
Google Analytics
![Page 20: How to make GAE adapt the Great Firewall](https://reader031.vdocument.in/reader031/viewer/2022022413/58ce61e41a28ab2f268b5979/html5/thumbnails/20.jpg)
NG
API OK
*