building a scalable mobile application on go google gle
play

Building a scalable mobile application on Go Google gle Cloud ud - PowerPoint PPT Presentation

Building a scalable mobile application on Go Google gle Cloud ud Pl Platfo tform rm About us Lukas Masuch Google+: +LukasMasuch Twitter: @lukasmasuch Henning Muszynski Google+: +HenningBalboa Twitter: @henningmus Benjamin Rthlein


  1. Building a scalable mobile application on Go Google gle Cloud ud Pl Platfo tform rm

  2. About us Lukas Masuch Google+: +LukasMasuch Twitter: @lukasmasuch Henning Muszynski Google+: +HenningBalboa Twitter: @henningmus Benjamin Räthlein Google+: +BenjaminRäthlein Twitter: @B3nRa

  3. Drop Make the world around you more social

  4. Google Cloud Platform

  5. Google Cloud Platform

  6. Cloud Platform – Compute Compute te Engine: ine: Virtual machines hosted on Google's infrastructure - Infrastructure-as-a-Service App Engine: ine: Deploy your code directly to a fully- managed platform - Platform-as-a-Service Conta tain iner er Engine: ine: Run Docker container cluster on Google Cloud Platform – Container-as-a-Service

  7. Cloud Platform – Storage Options Cloud SQL: Full SQL support for an online transaction processing (OLTP) system Cloud Data tasto store re: : Store highly structured objects and query with SQL-like statements Cloud Storage rage: Store immutable blobs larger than 10 MB, such as large images or videos Cloud BigTa Table: : High-performance, extremely scalable NoSQL database, scales to billions of entries

  8. Google Cloud Platform

  9. App Engine Cloud Datastore Objectify Cloud Storage GCM Endpoint File Servlet Cloud Endpoints Other Dev Tools

  10. App Engine Cloud Endpoints

  11. Cloud Endpoint REST has never been easier! Automatically generate client libraries to make wiring up the client to your backend easy. + Annotation based + Easy declaration of REST methods and services + support for local testing Really ? 1. Annotate 2. Generate 3. Run everywhere

  12. Cloud Endpoint - Pitfalls What we should have known before Getter / Setter require to be named same as the member variables. Otherwise duplicate methods are generated 1 Endpoint methods allow only one object as parameter int No native data types are returnable. Use Wrappers! 1..2..3 Enums are neither returnable nor allowed as parameters

  13. App Engine Cloud Datastore Cloud Storage File Servlet Cloud Endpoints

  14. Cloud Datastore & Cloud Storage Save everything in the cloud! Datastore: Store all entities Storage: Store all files Better database design vs. vs. less data operations Cloud Storage: Convenient API for Images. Additional Servlet for Files needed. Manageable with an easy-to-use Interface on Google Cloud Console

  15. App Engine Cloud Datastore Cloud Datastore Objectify Cloud Storage Cloud Storage File Servlet File Servlet Cloud Endpoints Cloud Endpoints

  16. Objectify The simplest convenient ORM for App Engine datastore Enables you to store and retrieve your Object directly from Cloud Datastore. It is that simple! + Annotation based + Easy caching and indexing + Human-friendly query interface It just works like a charm!

  17. App Engine Cloud Datastore Cloud Datastore Objectify Cloud Storage Cloud Storage GCM Endpoint File Servlet File Servlet Cloud Endpoints Cloud Endpoints

  18. Google Cloud Messaging - Users want to be notified! App Engine Cloud Datastore Objectify Cloud Endpoints GCM Endpoint 4. push messages 2. GCM ID 1. Registration 3. Send GCM ID to App Engine

  19. App Engine Cloud Datastore Cloud Datastore Objectify Cloud Storage Cloud Storage GCM Endpoint File Servlet File Servlet Cloud Endpoints Cloud Endpoints

  20. App Engine Cloud Datastore Cloud Datastore Objectify Cloud Storage Cloud Storage GCM Endpoint File Servlet File Servlet Cloud Endpoints Cloud Endpoints Other Dev Tools

  21. Resources & Links Github thub Reposit pository ory – Ap App p Engin gine Skelet eton on Googl gle Cloud oud Play aygroun ground d (Python) ython) Drop op - Websit bsite

  22. Lukas Masuch Henning Muszynski Benjamin Räthlein

Recommend


More recommend