Google Cloud Developer Challenge - GDG Belgaum

Post on 09-May-2015

1.436 views 6 download

description

Google Cloud Developer Challenge - GDG Belgaum

Transcript of Google Cloud Developer Challenge - GDG Belgaum

https://developers.google.com/groups www. SandeepHegde.me

https://developers.google.com/groups

Google App Engine& Cloud Overview

Cloud Datastore

Translate

Prediction

www. SandeepHegde.me

https://developers.google.com/groups

What about hardware failure, traffic spikes? No or low on resources/funding? What about scaling? How about soft- ware patches & upgrades? Can you afford an architect, engineers, and system administrators to design, implement, and operate this complex thing?

Building a traditional web application

www. SandeepHegde.me

https://developers.google.com/groups

Why does App Engine exist?

www. SandeepHegde.me

https://developers.google.com/groups

•Easy to build•Easy to manage•Easy to scale

•Enabling greater developer productivity!•Focus on building your app, not sys admin•Let us wear the pagers!•BUT don't confuse App Engine w/IaaS services!

Build and run your web apps on Google’s infrastructure

App Engine to the rescue!!

www. SandeepHegde.me

https://developers.google.com/groups

• Approximate size of Google's search index?o (2012 - 100 million gigabytes)

• How much video uploaded to YouTube every minute (in hours)?o (2013 – 100 hours per minute)

• Speaking of YouTube... monthly uniques?o (2013 – one thousand million)

• Google ever down? 500s?

www. SandeepHegde.me

https://developers.google.com/groups

Out-of-this-world Scaling and Security

• googleblog.blogspot.com/2012/10/googles-data-centers-inside-look.html

• goo.gl/maps/dWF8l

www. SandeepHegde.me

https://developers.google.com/groups

Cloud Industry & Service Levels

Source: Gartner AADI Summit Dec 2009

www. SandeepHegde.me

https://developers.google.com/groups

• Comprehensive, integrated platformo Compute, storage, application serviceso Serving all levels of cloud computing service

• Extension of Google internal infrastructureo With access to other Google services & APIs

• As improvements made to cloud for Google...o Users reap these benefits/upgradeso Without any effort on your part

• Use what Google uses: build your software & run your business in the same place they doo With same scale, performance, security, and value

they built for themselves

What is Google's Cloud?

www. SandeepHegde.me

https://developers.google.com/groups

Python, Java, Go, PHP not enough for you?

www. SandeepHegde.me

https://developers.google.com/groups

Specialized APIs/Services for the Sandbox

Cloud StorageImages

Mail XMPP Task Queue

Memcache Datastore URL Fetch

User Service

www. SandeepHegde.me

https://developers.google.com/groups

Hardware failure, traffic spikes, scaling, software patches and upgrades handled by Google... and yes, we’ll operate it for you!

How does it work?

www. SandeepHegde.me

https://developers.google.com/groups

Administration Console

www. SandeepHegde.me

https://developers.google.com/groups

App Engine - By the Numbers*

• 300,000+ Active developers

• 3,000,000+ Active applications

• Half of world's Internet addressestouch an App Engine server(per week)

* per month except as otherwise noted

https://developers.google.com/groups

App Engine - Larger Numbers*

7,500,000,000+Hits (per day)

4,500,000,000,000+Datastore requests

* per month except as otherwise noted

https://developers.google.com/groups

Some App Engine users

https://developers.google.com/groups

•3.6MM DAUs on FB

•1.9MM DAUs on MS

•Add Orkut, Bebo, Hi5, Friendster, Hyves, Ning…

Long-term scaling...

https://developers.google.com/groups

•Need backend server processing? Want to build your own?

•Go cloud with App Engine!

•No UI needed for app to talk to App Engine, just need HTTP

•Great place for user info e.g., high scores, contacts, levels/badges, etc.

•Better UI: move user data off phone & make universally available

Not all apps have web UI

https://developers.google.com/groups

App Engine as Mobile Backend

•Pulse’s mobile appo Androido iOSo Kindle

•Awards (2011)o Apple’s App Store Hall of Fameo Time Magazine’s Top 50 iOS apps

•30MM+ users, 10MM+ stories read/day•Thousands of QPS, 100M daily requests•Use of App Engine cost-effective

•Read more about Pulseo googleappengine.blogspot.com/2011/11/scaling-

with-kindle-fire.htmlo cloud.google.com/files/Pulse.pdf

•Get started building your mobile backend:o developers.google.com/cloud/samples/mbs

https://developers.google.com/groups

Gaming... share data, mobile or web!

https://developers.google.com/groups

Multimedia scaling...

https://developers.google.com/groups

Google Cloud Endpoints

● APIs for web and mobile backends made easy

● Watch the tutorial & get the code at cloud.google.com/mobilebackendtutorial

https://developers.google.com/groups

Popular App Engine use cases

•Mobile/TabletoApp backendsoCloud persistence

•Social/Mobile GamesoSpeed, scaleoAPI integrationsoPersonals/dating

• Consumer Web AppsoUnpredictable trafficoScale

•Apps in AcademiaoAny course where students

build web or mobile appsoResearch projectsoIT/Operational apps

•Business AppsoEnterpriseoJava runtimeoWeb or Mobile

https://developers.google.com/groups

Getting Started

Google Prediction API

Google Storage

What WhereProduct Info cloud.google.com/products

Docs, downloads, etc. developers.google.com/appengine

Create/manage your apps appengine.google.com

Help from experts on anything technical, including App Engine

stackoverflow.com

Cloud Bloggooglecloudplatform.blogspot.co

m

Socialgoogle.com/+googlecloudplatform

@GoogleCloud

• The docs are great, but what about teaching materials?

https://developers.google.com/groups

Cloud Playground

•Try App Engine without any downloads!

cloud-playground.appspot.com

https://developers.google.com/groups

Connect to Google Cloud & other services

BigQuery

Google Cloud Storage

Google App Engine

ComputeEngine

Cloud SQL

Prediction

???

CloudDatastore

Translate

www.SandeepHegde.me

https://developers.google.com/groups

Google Compute Engine

• Need to go outside App Engine boundaries?

• On-demand VMs (RHEL/CentOS, Debian)

o 1-8 virtual coreso 1.8-6.5GB RAM/coreo Private VM network

• 3 storage typeso Local/scratch: 420GBo Persistent disk: 10TB

o Cloud Storage: unlimited

• 3 interfaceso Command-line interfaceo Web-based interface

o Your code via REST API

www.SandeepHegde.me

https://developers.google.com/groups

Google Cloud Platform

Google Cloud Storage•Large scale cloud storage (<5TB/obj)

•US or EU data centers; Google worldwide network•Strong read-your-write consistency

•99.9% SLA•ACLs at the object or bucket-level

•Gateway to all Google cloud platform services•REST API, App Engine API, Web UI, command-line

•developers.google.com/storage

Google Cloud SQL

• MySQL-compatible relational database in the cloud

• Access via App Engine API or externally via JDBC

• developers.google.com/cloud-sql

www.SandeepHegde.me

https://developers.google.com/groups

Google Cloud Platform

Google Cloud Datastore•A NoSQL database at Google scale

•Familiar native datastore for App Engine•Now accessible externally via HTTP/RPC

•Built on scalable Google tech (MegaStore, BigTable, Colossus)•developers.google.com/datastore

Google Translate

• Build multilingual apps

• Translate text into other languages programmatically

• Use a familiar RESTful interface

• Take advantage of Google's powerful translation algorithms

• developers.google.com/translate

Cloud Datastore

Translate

www.SandeepHegde.me

https://developers.google.com/groups

Google Cloud Platform

Google BigQuery•Large scale query and analysis cloud service•Query multi-terabyte datasets in seconds

•SQL-like query language•Based on Google's internal Dremel project

•Take a tour at cloud.google.com/bigquery-tour

Google Prediction

• Machine Learning service in the cloud

• Supervised learning

• Train models, get "predictions"

• "Magic?" Possibly.

• developers.google.com/prediction

Prediction

www.SandeepHegde.me

https://developers.google.com/groups

Google Prediction

www.SandeepHegde.me

https://developers.google.com/groups

Fusion Tables

• Think: Google Maps + Excel/Sheets on steroids• Aggregate disparate data in spreadsheet & visualize• google.com/fusiontables• sites.google.com/site/fusiontablestalks• tables.googlelabs.com• support.google.com/fusiontables/answer/

2571232• developers.google.com/fusiontables/• support.google.com/fusiontables/answer/

184641

www.SandeepHegde.me

https://developers.google.com/groups

Google APIs• Android

o developer.android.com

• Chrome (Chrome extensions, HTML5, Dart, ChromeOS, ChromeBooks)o html5rocks.com

• Google+o developers.google.com/+

• Ads (AdSense, AdWords, AdMob)o google.com/ads

• Maps, Earth, KMLo developers.google.com/maps

• Driveo developers.google.com/drive

• YouTubeo developers.google.com/youtube

• Commerce (Wallet, Checkout, Shopping)o developers.google.com/commerce

• Google TVo developers.google.com/tv

www.SandeepHegde.me

https://developers.google.com/groups

$Your chance to WIN

All Female-Teams - $3000

Make it to 2nd Round & WIN

All Student-Teams - $1000

www.SandeepHegde.me

https://developers.google.com/groups

$And everyone here today gets

That’s ₹1,20,000 !

Promo Code - gcpdc-in

www.SandeepHegde.me

www.google.co.in/events/gcdc2013/

https://developers.google.com/groups

Google Developers Live!(developers.google.com/live)

www. SandeepHegde.me

https://developers.google.com/groups

• Content developed by Googlers• Set of online classes spanning across various Google developer

technologies• Aim is to have curriculum based learning, beyond traditional

technical document

(developers.google.com/academy)

www. SandeepHegde.me

https://developers.google.com/groups

Connect with us !

Website » » www.GDGBelgaum.com

Google+ » » Gplus.to/GDGBelgaum

Google Group  » » Groups.google.com/forum/#!forum/GDGBelgaum

Facebook Page  » » Facebook.com/GDGBelgaum

Twitter » » Twitter.com/GDGBelgaum

www.GDGBelgaum.com

<Thank You!>

Google.com/+SandeepHegde