SlideShare a Scribd company logo
1 of 24
Download to read offline
Building a scalable mobile application on
Google Cloud Platform
About us
Lukas Masuch
Google+: +LukasMasuch Twitter: @lukasmasuch
Henning Muszynski
Google+: +HenningBalboa Twitter: @henningmus
Benjamin Räthlein
Google+: +BenjaminRäthlein Twitter: @B3nRa
DropMake the world around you more social
Google Cloud Platform
Google Cloud Platform
Cloud Platform – Compute
Container Engine: Run Docker container cluster on
Google Cloud Platform – Container-as-a-Service
App Engine: Deploy your code directly to a fully-
managed platform - Platform-as-a-Service
Compute Engine: Virtual machines hosted on
Google's infrastructure - Infrastructure-as-a-Service
Cloud Platform – Storage Options
Cloud Datastore: Store highly structured objects and
query with SQL-like statements
Cloud SQL: Full SQL support for an online transaction
processing (OLTP) system
Cloud Storage: Store immutable blobs larger than
10 MB, such as large images or videos
Cloud BigTable: High-performance, extremely
scalable NoSQL database, scales to billions of entries
Google Cloud Platform
Cloud Datastore
Cloud StorageCloud Endpoints File ServletGCM Endpoint
Objectify
Other Dev Tools
App Engine
App Engine
Cloud Endpoints
1. Annotate 2. Generate 3. Run everywhere
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 ?
Cloud Endpoint - Pitfalls
What we should have known before
Endpoint methods allow only one object as parameter
1
Enums are neither returnable nor allowed as parameters1..2..3
No native data types are returnable. Use Wrappers!int
Getter / Setter require to be named same as the member
variables. Otherwise duplicate methods are generated
App Engine
Cloud Datastore
Cloud StorageFile ServletCloud Endpoints
Cloud Datastore & Cloud Storage
Save everything in the cloud!
Datastore: Store all entities
Storage: Store all files
Better database design 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
App Engine
Cloud Datastore
Cloud StorageFile ServletCloud Endpoints
Cloud Datastore
Cloud StorageFile ServletCloud Endpoints
Objectify
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!
It just works like a charm!
+ Annotation based
+ Easy caching and indexing
+ Human-friendly query interface
App Engine
Cloud Datastore
Cloud StorageFile ServletCloud Endpoints
Cloud Datastore
Cloud StorageFile ServletCloud Endpoints
Objectify
GCM Endpoint
Google Cloud Messaging - Users want to be notified!
1. Registration
2. GCM ID
App Engine
Cloud Datastore
Cloud Endpoints GCM Endpoint
Objectify
3. Send GCM ID
to App Engine
4. push messages
App Engine
Cloud Datastore
Cloud StorageFile ServletCloud Endpoints
Cloud Datastore
Cloud StorageFile ServletCloud Endpoints
Objectify
GCM Endpoint
App Engine
Cloud Datastore
Cloud StorageFile ServletCloud Endpoints
Cloud Datastore
Cloud StorageFile ServletCloud Endpoints
Objectify
GCM Endpoint
Other Dev Tools
Resources & Links
Drop - Website
Google Cloud Playground (Python)
Github Repository – App Engine Skeleton
Lukas Masuch
Henning Muszynski
Benjamin Räthlein

More Related Content

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Building a scalable mobile application on Google Cloud Platform

  • 1. Building a scalable mobile application on Google Cloud Platform
  • 2. About us Lukas Masuch Google+: +LukasMasuch Twitter: @lukasmasuch Henning Muszynski Google+: +HenningBalboa Twitter: @henningmus Benjamin Räthlein Google+: +BenjaminRäthlein Twitter: @B3nRa
  • 3. DropMake the world around you more social
  • 4.
  • 5.
  • 8. Cloud Platform – Compute Container Engine: Run Docker container cluster on Google Cloud Platform – Container-as-a-Service App Engine: Deploy your code directly to a fully- managed platform - Platform-as-a-Service Compute Engine: Virtual machines hosted on Google's infrastructure - Infrastructure-as-a-Service
  • 9. Cloud Platform – Storage Options Cloud Datastore: Store highly structured objects and query with SQL-like statements Cloud SQL: Full SQL support for an online transaction processing (OLTP) system Cloud Storage: Store immutable blobs larger than 10 MB, such as large images or videos Cloud BigTable: High-performance, extremely scalable NoSQL database, scales to billions of entries
  • 11. Cloud Datastore Cloud StorageCloud Endpoints File ServletGCM Endpoint Objectify Other Dev Tools App Engine
  • 13. 1. Annotate 2. Generate 3. Run everywhere 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 ?
  • 14. Cloud Endpoint - Pitfalls What we should have known before Endpoint methods allow only one object as parameter 1 Enums are neither returnable nor allowed as parameters1..2..3 No native data types are returnable. Use Wrappers!int Getter / Setter require to be named same as the member variables. Otherwise duplicate methods are generated
  • 15. App Engine Cloud Datastore Cloud StorageFile ServletCloud Endpoints
  • 16. Cloud Datastore & Cloud Storage Save everything in the cloud! Datastore: Store all entities Storage: Store all files Better database design 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
  • 17. App Engine Cloud Datastore Cloud StorageFile ServletCloud Endpoints Cloud Datastore Cloud StorageFile ServletCloud Endpoints Objectify
  • 18. 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! It just works like a charm! + Annotation based + Easy caching and indexing + Human-friendly query interface
  • 19. App Engine Cloud Datastore Cloud StorageFile ServletCloud Endpoints Cloud Datastore Cloud StorageFile ServletCloud Endpoints Objectify GCM Endpoint
  • 20. Google Cloud Messaging - Users want to be notified! 1. Registration 2. GCM ID App Engine Cloud Datastore Cloud Endpoints GCM Endpoint Objectify 3. Send GCM ID to App Engine 4. push messages
  • 21. App Engine Cloud Datastore Cloud StorageFile ServletCloud Endpoints Cloud Datastore Cloud StorageFile ServletCloud Endpoints Objectify GCM Endpoint
  • 22. App Engine Cloud Datastore Cloud StorageFile ServletCloud Endpoints Cloud Datastore Cloud StorageFile ServletCloud Endpoints Objectify GCM Endpoint Other Dev Tools
  • 23. Resources & Links Drop - Website Google Cloud Playground (Python) Github Repository – App Engine Skeleton