jtong srob - introduction to google cloud platform...dec 16, 2015 · songpop 100 400,075 800,050...
TRANSCRIPT
@MimmingCodes @SRobTweets
Jenny Tong Sara Robinson
Developer Advocates
Introduction to Google Cloud Platform
@MimmingCodes @SRobTweets
Jen Tong @MimmingCodes
Sara Robinson @SRobTweets
@MimmingCodes @SRobTweets
Who are you?
@MimmingCodes @SRobTweets
Introduction
@MimmingCodes @SRobTweets
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes @SRobTweets
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes @SRobTweets
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes @SRobTweets
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes @SRobTweets
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes @SRobTweets
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes @SRobTweets
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes @SRobTweets
B I N G OVirtual
Machine PAAS
Storage No Ops Dev Ops
IAASContainerLogging
SQL NoSQL Big Data
Load Balancer CDN
Scale Latency
VPN SSD Terabyte
CLOUDMicroservicesMobile
DataCenter Client
Data HTTPS
@MimmingCodes @SRobTweets
What’s the difference?
@MimmingCodes @SRobTweets
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes @SRobTweets
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes @SRobTweets
Highlight
App Engine BigQuery Firebase
@MimmingCodes @SRobTweets
01 App Engine
@MimmingCodes @SRobTweets
• Platform as a Service • Lots of built-in stuff • Auto scales
App Engine
Python Java PHP Go
@MimmingCodes @SRobTweets
App Engine
Typical
86 M
• Platform as a Service • Lots of built-in stuff • Auto scales
Monthly Requests
@MimmingCodes @SRobTweets
App Engine
Popular
500 M
• Platform as a Service • Lots of built-in stuff • Auto scales
Monthly Requests
@MimmingCodes @SRobTweets
App Engine
Wikipedia
2.6 B• Platform as a Service • Lots of built-in stuff • Auto scales
Monthly Requests
@MimmingCodes @SRobTweets
App Engine
App Engine
• Platform as a Service • Lots of built-in stuff • Auto scales
Monthly Requests
@MimmingCodes @SRobTweets
App Engine28 B
• Platform as a Service • Lots of built-in stuff • Auto scales
Monthly Requests
App Engine
@MimmingCodes @SRobTweets
SongPop
• Casual Game • 6 Engineers
@MimmingCodes @SRobTweets
SongPop
100
400,075
800,050
1,200,025
1,600,000
May 2012 July 2012 Sept 2012 December 2012
500,000
1,500,000
100,000
500,000
100,000
Tweaked caching and data model
Adjusted Indices
Daily Active Users
@MimmingCodes @SRobTweets
Demo: App Engine Scaling
@MimmingCodes @SRobTweets
02 BigQuery
@MimmingCodes @SRobTweets
Big Query
• Scales flat into petabytes
• Use SQL Queries • REST, Web UI, ODBC • 1TB free each month
@MimmingCodes @SRobTweets
Demo: BigQuery
@MimmingCodes @SRobTweets
Count Shakespeare
SELECT count(word)FROM publicdata:samples.shakespeare
@MimmingCodes @SRobTweets
Count to a Million
SELECT sum(requests) as totalFROM [fh-bigquery:wikipedia.pagecounts_20151109_18]
@MimmingCodes @SRobTweets
Count to a Billion
SELECT sum(requests) as totalFROM [fh-bigquery:wikipedia.pagecounts_201505]
@MimmingCodes @SRobTweets
Count to a Trillion
SELECT SUM(requests) AS totalFROM TABLE_QUERY( [fh-bigquery:wikipedia], 'REGEXP_MATCH( table_id, r"pagecounts_2015[0-9]{2}$")')
@MimmingCodes @SRobTweets
Run a RegEx on a TrillionSELECT SUM(requests) AS totalFROM TABLE_QUERY( [fh-bigquery:wikipedia], 'REGEXP_MATCH( table_id, r"pagecounts_2015[0-9]{2}$")')WHERE (REGEXP_MATCH(title, '.*[dD]inosaur.*'))
@MimmingCodes @SRobTweets
03 Firebase
Realtime Data
@MimmingCodes @SRobTweets
Demo: Firebase
@MimmingCodes @SRobTweets
wherebus.firebaseapp.com
Where’s my Bus?
@MimmingCodes @SRobTweets
mmoasteroids.firebaseapp.com
Multiplayer Games
Client-side Development
@MimmingCodes @SRobTweets
Conclusions
Your App Here
@MimmingCodes @SRobTweets
Thank You!Contact us: @MimmingCodes @SRobTweets
Slides: mimming.com/presos/gcp-overview/ Free trial: cloud.google.com/free-trial