Google App Engine

  • 2,124 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,124
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
119
Comments
0
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide


































































  • Your search crawler grabs the list of external links from the database and begins running it’s process. When it completes a page it stories it in a index.



    This application would be resources intensive and couldn’t be run on every page save so you would have to be run in a cron script.






Transcript

  • 1. Google App Engine Myles Braithwaite <myles@monkeyinyoursoul.com> Monkey in your Soul
  • 2. Who am I? • Indie/Hobby Programmer.
  • 3. What is Google App Engine?
  • 4. • Allows you to run your web applications on Google’s infrastructure • Scaling is really simple • No capital for system administrators
  • 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. 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. Getting Started with App Engine
  • 8. • Download the SDK @ code.google.com/ appengine
  • 9. GAE SDK
  • 10. GAE Project
  • 11. Cron/Schedule Tasks
  • 12. cron.yaml
  • 13. Deploy your App
  • 14. Windows or a Mac
  • 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. Message Queues
  • 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. ASITE.COM Database Search BSITE.COM Crawler Index CSITE.COM
  • 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. 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. 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