TOOLS AND GOOLE TECHNOLOGIES ▸ Google cloud environment types ▸ Limits within environment ▸ Issues which might appear due to limits and workarounds ▸ Cloud Memcache service ▸ Datastore (database) ▸ Bazel (build system) 4
within Docker containers Run in a sandbox Standard has faster auto scaling Any programming language Limited number of supported languages Not free Free or very low cost • Python 2.7 • Java 7, Java 8 • PHP 5.5 • Go 1.6
List<String> list = Collections.singletonList( new String(ByteBuffer.allocate(1048503).array())); memcacheService.put("query", list); 2097113 bytes =) Locally works fine Doesn’t work on cloud 42
document database built for automatic scaling, high performance, and ease of application development.” https://cloud.google.com/appengine/docs/standard/java/datastore/ 52
run it manually? A: Schedule for some time in future and don’t forget to remove it =) Q: How to test it locally? A: Call API endpoint somehow. No manual way =) 60
What is memcache (Intro) https://www.youtube.com/watch?v=TGl81wr8lz8 ‣ Google: Datastore intro https://www.youtube.com/watch?v=fQazhzcC-rg ‣ Google: App Engine architecture and services https://www.youtube.com/watch?v=QJp6hmASstQ ‣ Bazel and Angular outside Google https://medium.com/@Jakeherringbone/what-angular-is-doing-with-bazel-and-closure-21f526f64a34 ‣ Build & Run Scalable Web Applications on Google's Infrastructure By Dan Sanderson http://shop.oreilly.com/product/0636920017547.do ‣ Appengine + Bazel https://github.com/bazelbuild/rules_appengine ‣ CodeLab from Google to run simple Spring Boot app with app engine https://codelabs.developers.google.com/codelabs/cloud-app-engine-springboot/index.html 79