Google App Engine

3,396 views
3,245 views

Published on

Published in: Technology, News & Politics
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,396
On SlideShare
0
From Embeds
0
Number of Embeds
16
Actions
Shares
0
Downloads
267
Comments
0
Likes
3
Embeds 0
No embeds

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.






  • 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

    ×