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

3,720 views

Published on

Published in: Technology, News & Politics
  • Be the first to comment

Google App Engine

  1. 1. Google App Engine Myles Braithwaite <myles@monkeyinyoursoul.com> Monkey in your Soul
  2. 2. Who am I? • Indie/Hobby Programmer.
  3. 3. What is Google App Engine?
  4. 4. • Allows you to run your web applications on Google’s infrastructure • Scaling is really simple • No capital for system administrators
  5. 5. Google’s Server Environment • Web Server (HTTP and HTTPS) • Datastore using BigTables (Schema Free) • Authentication of users though Google Accounts • Scheduled Tasks (i.e. Cron)
  6. 6. Sandbox • Applications can only access other computers though HTTP and Email. • Users can only access GAE applications though HTTP. • An application cannot write to the filesystem. • Application code only runs in response to an HTTP request and has 30 seconds to run.
  7. 7. Getting Started with App Engine
  8. 8. • Download the SDK @ code.google.com/ appengine
  9. 9. GAE SDK
  10. 10. GAE Project
  11. 11. Cron/Schedule Tasks
  12. 12. cron.yaml
  13. 13. Deploy your App
  14. 14. Windows or a Mac
  15. 15. GAE Roadmap • Task queues for performing background processing • Ability to receive and process incoming email • Support for sending and receiving XMPP (Jabber) messages
  16. 16. Message Queues
  17. 17. • Lets say you run a Wiki about Widgets. • And you want to index all the external links. • But you are on a Shared Host and have limited resources.
  18. 18. ASITE.COM Database Search BSITE.COM Crawler Index CSITE.COM
  19. 19. Application requests websites it wants indexed. ASITE.COM Database GAE Search Application BSITE.COM Crawler Index CSITE.COM GAE response with crawled data.
  20. 20. Fear of the Elephant • AppScale: http://appscale.cs.ucsb.edu/ • To run GAE on EC2 or Eucalyptus • Some what Stable (Except no data persistence) • GAE2Django: http://tinyurl.com/gae2d/ • A bridge to run GAE code on Django. • Some what Stable (Except no database support)
  21. 21. Resources • http://code.google.com/appengine • http://appengine.google.com • http://labs.google.com/papers/bigtable.html • http://appgallery.appspot.com • http://code.google.com/p/jaikuengine

×