Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Google App Engine - Simple Introduction

2,510 views

Published on

A very basic overview of Google App Engine

Published in: Technology

Google App Engine - Simple Introduction

  1. 1. Google App Engine An Intro, by Lenny Rachitsky
  2. 2. Questions
  3. 3. Agenda 1. Where App Engine fits 2. What is App Engine 3. How to use App Engine 4. How I’ve used App Engine 5. Q&A
  4. 4. “Run your web apps on Google's infrastructure. Easy to build, easy to maintain, easy to scale.”
  5. 5. What is “The Cloud”? “Cloud computing is a model for enabling convenient, on- demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.” -- National Institute of Standards and Technology
  6. 6. “The Cloud” Don’t have to build your own infrastructure Pay only for what you use Use as much as you need, whenever you need
  7. 7. “The Cloud” Don’t have to build your own infrastructure Pay only for what you use Use as much as you need, whenever you need Manage your infrastructure with code
  8. 8. Cloud Service Models
  9. 9. Cloud Service Models IaaS (Infrastructure-as-a-Service)
  10. 10. Cloud Service Models PaaS (Platform-as-a-Service) IaaS (Infrastructure-as-a-Service)
  11. 11. Cloud Service Models SaaS (Software-as-a-Service) PaaS (Platform-as-a-Service) IaaS (Infrastructure-as-a-Service)
  12. 12. Cloud Service Models SaaS (Software-as-a-Service) PaaS (Platform-as-a-Service) IaaS (Infrastructure-as-a-Service)
  13. 13. Cloud Service Models PaaS (Platform-as-a-Service)
  14. 14. Overview of Google App Engine
  15. 15. The Pitch: You write the code, someone else worries about everything else
  16. 16. The Sandbox
  17. 17. The Sandbox Python or Java
  18. 18. The Sandbox Python or Java Limited access
  19. 19. The Sandbox Python or Java Limited access Limited run time
  20. 20. The Sandbox Python or Java Limited access Limited run time Datastore
  21. 21. The Datastore Based on “BigTable” Schemaless NoSQL, with SQL type queries Scales infinitely Means a lot less time spent on the database Maybe the best part of App Engine
  22. 22. Sample of Data Model “Kind” class FoursquareUser(db.Model): created = db.DateTimeProperty(auto_now_add=True) name = db.TextProperty() email = db.TextProperty()
  23. 23. Sample query query = db.GqlQuery("SELECT * FROM FoursquareUser") for user in query: self.response.out.write("User name: %s" % user[“name”]) self.response.out.write("User email: %s" % user[“email”])
  24. 24. Other services Google Accounts Mail URL Fetch Memcache Image manipulation Queues Cron jobs
  25. 25. Costs
  26. 26. Quota’s
  27. 27. Target Application
  28. 28. Let’s create an app!
  29. 29. Demo my apps
  30. 30. Google I/O
  31. 31. Resources http://code.google.com/appengine/docs/python/ gettingstarted/ http://code.google.com/appengine/docs/python/ overview.html http://appengine-cookbook.appspot.com/ http://googleappengine.blogspot.com/2010/03/easy- performance-profiling-with.html
  32. 32. Q&A

×