Intro to App Engine - Agency Dev Day NYC 2011

34
Ikai Lan plus.ikailan.com NYC Agency Day! July 25, 2011 Google App Engine Monday, July 25, 2011

description

Our slides for Agency Developer Day at Google NYC

Transcript of Intro to App Engine - Agency Dev Day NYC 2011

Page 1: Intro to App Engine - Agency Dev Day NYC 2011

Ikai Lan plus.ikailan.com

NYC Agency Day!July 25, 2011

Google App Engine

Monday, July 25, 2011

Page 2: Intro to App Engine - Agency Dev Day NYC 2011

About the speaker

• Ikai Lan

• Developer Relations at Google based out of San Francisco, CA

• Twitter: @ikai

• Google+: plus.ikailan.com

Monday, July 25, 2011

Page 3: Intro to App Engine - Agency Dev Day NYC 2011

Agenda

• What is Google App Engine?

• Anatomy of an App Engine application

• Demo app and questions

Monday, July 25, 2011

Page 4: Intro to App Engine - Agency Dev Day NYC 2011

What is App Engine?

Monday, July 25, 2011

Page 5: Intro to App Engine - Agency Dev Day NYC 2011

Infrastructure

Platform

Software

Source: Gartner AADI Summit Dec 2009

Monday, July 25, 2011

Page 6: Intro to App Engine - Agency Dev Day NYC 2011

Infrastructure

Platform

Software

Source: Gartner AADI Summit Dec 2009

Monday, July 25, 2011

Page 7: Intro to App Engine - Agency Dev Day NYC 2011

Infrastructure

Platform

Software

Source: Gartner AADI Summit Dec 2009

Monday, July 25, 2011

Page 8: Intro to App Engine - Agency Dev Day NYC 2011

Infrastructure

Platform

Software

Source: Gartner AADI Summit Dec 2009

Monday, July 25, 2011

Page 9: Intro to App Engine - Agency Dev Day NYC 2011

Infrastructure

Platform

Software

Source: Gartner AADI Summit Dec 2009

Monday, July 25, 2011

Page 10: Intro to App Engine - Agency Dev Day NYC 2011

Infrastructure

Platform

Software

Source: Gartner AADI Summit Dec 2009

Monday, July 25, 2011

Page 11: Intro to App Engine - Agency Dev Day NYC 2011

SDK & “The Cloud”

Hardware

Networking

Operating system

Application runtime

Java, Python, Go

Static file serving

Monday, July 25, 2011

Page 12: Intro to App Engine - Agency Dev Day NYC 2011

Development Cycle

Write code Test locally

Push to Google servers

Administer via web console

Monday, July 25, 2011

Page 13: Intro to App Engine - Agency Dev Day NYC 2011

Admin Console

Monday, July 25, 2011

Page 14: Intro to App Engine - Agency Dev Day NYC 2011

Scales dynamically

App Server

Monday, July 25, 2011

Page 15: Intro to App Engine - Agency Dev Day NYC 2011

Scales dynamically

App Server

App Server

App Server

Monday, July 25, 2011

Page 16: Intro to App Engine - Agency Dev Day NYC 2011

Easy to buildEasy to manageEasy to scale

Google App Engine

Monday, July 25, 2011

Page 17: Intro to App Engine - Agency Dev Day NYC 2011

Google App Engine“We wear pagers so

you don’t have to”

Monday, July 25, 2011

Page 18: Intro to App Engine - Agency Dev Day NYC 2011

Duke, the Java mascotCopyright © Sun Microsystems Inc., all rights reserved.Go Gopher

Monday, July 25, 2011

Page 19: Intro to App Engine - Agency Dev Day NYC 2011

• Java

• Scala

• JRuby (Ruby)

• Groovy

• Quercus (PHP)

• Rhino (JavaScript)

• Jython (Python)

• Clojure

Duke, the Java mascotCopyright © Sun Microsystems Inc., all rights reserved.

Extended Language support through JVM

Monday, July 25, 2011

Page 20: Intro to App Engine - Agency Dev Day NYC 2011

>200K Apps

>100K Developers

>1.5B daily pageviews

Monday, July 25, 2011

Page 21: Intro to App Engine - Agency Dev Day NYC 2011

Customer: WebFilings

Disruptive multi-tenant App Engine application adopted by Fortune 500 companies.

Monday, July 25, 2011

Page 22: Intro to App Engine - Agency Dev Day NYC 2011

Customer: Optimizely

Y-Combinator funded startup now processing 250M events through App Engine

Monday, July 25, 2011

Page 23: Intro to App Engine - Agency Dev Day NYC 2011

Customer: Gri!pe

Mobile app backend - Used App Engine to rapidly scale to serve traffic spikes from industry press and appearance on The View

Monday, July 25, 2011

Page 24: Intro to App Engine - Agency Dev Day NYC 2011

Customer: The Royal Wedding

Peaked at 32,000 requests per second with no disruption!

Monday, July 25, 2011

Page 25: Intro to App Engine - Agency Dev Day NYC 2011

Anatomy of an App Engine application

Monday, July 25, 2011

Page 26: Intro to App Engine - Agency Dev Day NYC 2011

BloggartOpen Source Python Blog that

runs on App Engine

https://github.com/Arachnid/bloggart

Monday, July 25, 2011

Page 27: Intro to App Engine - Agency Dev Day NYC 2011

BlobstoreImages

Mail XMPP Task Queue

Memcache Datastore URL Fetch

User Service

Core APIs

Monday, July 25, 2011

Page 28: Intro to App Engine - Agency Dev Day NYC 2011

Bloggart

Blog post storage

General caching

Long running background jobs

Admin authentication

Comments via Disqus API

Monday, July 25, 2011

Page 29: Intro to App Engine - Agency Dev Day NYC 2011

App Engine Datastore

Schemaless, non-relational datastore built on top of Google’s Bigtable technology

Enables rapid development and scalability

Monday, July 25, 2011

Page 30: Intro to App Engine - Agency Dev Day NYC 2011

High Replication

• strongly consistent

• multi datacenter

•High reliability

• consistent performance

• no data loss

Monday, July 25, 2011

Page 31: Intro to App Engine - Agency Dev Day NYC 2011

More features

• Prospective Search APIhttp://code.google.com/appengine/docs/python/prospectivesearch/

• High Performance Image API

• App Engine Mapreduce

• Pipeline API

Monday, July 25, 2011

Page 32: Intro to App Engine - Agency Dev Day NYC 2011

Summary

• Let App Engine drive for you - worry about where you are going

• App Engine enables rapid development cycles without sacrificing scalability or reliability

Monday, July 25, 2011

Page 33: Intro to App Engine - Agency Dev Day NYC 2011

Rude Responder

Monday, July 25, 2011

Page 34: Intro to App Engine - Agency Dev Day NYC 2011

Questions?

• Twitter: @ikai

• Google+: plus.ikailan.com

• App Engine: http://code.google.com/appengine

• Rude Responder: http://code.google.com/p/rude-responder/

Monday, July 25, 2011