Introduction to Google Cloud Platform - mimming.com · @MimmingCodes Google Cloud Platform Compute...
Transcript of Introduction to Google Cloud Platform - mimming.com · @MimmingCodes Google Cloud Platform Compute...
@MimmingCodes
Jen Tong
Developer Advocate
Google Cloud Platform
@MimmingCodes
@MimmingCodes
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes
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
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer Tools
MobileManagement
@MimmingCodes
• Platform as a Service • Lots of built-in stuff • Auto scales
App Engine
Python Java PHP Go
@MimmingCodes
App Engine
Typical
86 M
• Platform as a Service • Lots of built-in stuff • Auto scales
Monthly Requests
@MimmingCodes
App Engine
Popular
500 M
• Platform as a Service • Lots of built-in stuff • Auto scales
Monthly Requests
@MimmingCodes
App Engine
Wikipedia
2.6 B• Platform as a Service • Lots of built-in stuff • Auto scales
Monthly Requests
@MimmingCodes
App Engine
App Engine
• Platform as a Service • Lots of built-in stuff • Auto scales
Monthly Requests
@MimmingCodes
App Engine28 B
• Platform as a Service • Lots of built-in stuff • Auto scales
Monthly Requests
App Engine
@MimmingCodes
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
3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273724587006606315588174881520920962829254091715364367892590360011330530548820466521384146951941511609433057270365759591953092186117381932611793105118548074462379962749567351885752724...
3.14
@MimmingCodes
3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273724587006606315588174881520920962829254091715364367892590360011330530548820466521384146951941511609433057270365759591953092186117381932611793105118548074462379962749567351885752724...
3/14
@MimmingCodes
@MimmingCodes
Demo Numbers
• 800 insert worker nodes • 40 node Bigtable cluster • 7,000,000,000 digits indexed in 6 hours • 2,300,000 peak QPS • Total cost - $250
@MimmingCodes
Count to a Million
SELECT sum(requests) as totalFROM [fh-bigquery:wikipedia.pagecounts_20151109_18]
@MimmingCodes
Count to a Billion
SELECT sum(requests) as totalFROM [fh-bigquery:wikipedia.pagecounts_201505]
@MimmingCodes
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
Run a RegEx on a Trillion
SELECT 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
BigQuery
• Scales flat into petabytes • SQL dialect • User defined functions • REST, Web UI, ODBC • 1TB free each month
@MimmingCodes
Thank You!Contact us: @MimmingCodes
Slides: mimming.com/presos/gcp-overview/ Free trial: cloud.google.com/free-trial