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.

App engine beats pony.key

1,518 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

App engine beats pony.key

  1. 1. My App Engine has more horsepower than your Pony @alper
  2. 2. Different strengths
  3. 3. Django is good for content heavy
  4. 4. App Engine is made for scalability and realtime
  5. 5. Django on App Engine
  6. 6. Programming ≠ Configuration
  7. 7. The Good
  8. 8. Database
  9. 9. noSQL
  10. 10. no migrations
  11. 11. appcfg.py update
  12. 12. More batteries included
  13. 13. • Memcache • Receiving (!) e-mail • XMPP • Task Queues + Cron
  14. 14. Scalability + Availability
  15. 15. The Bad
  16. 16. No serious queries
  17. 17. denormalize
  18. 18. Deadline exceeded
  19. 19. Django templates
  20. 20. django.forms
  21. 21. The Ugly
  22. 22. Retro class MainPage(webapp.RequestHandler):     def get(self):         self.response.headers['Content-Type'] = 'text/plain'         self.response.out.write('Hello, webapp World!') application = webapp.WSGIApplication(                                      [('/', MainPage)],                                      debug=True) def main():     run_wsgi_app(application)
  23. 23. Domain linking
  24. 24. Admin interface
  25. 25. Enterprise
  26. 26. Programming ≠ Configuration
  27. 27. Best practices
  28. 28. • Work within the bounds • Use indexes • Use memcache • Create JSON endpoints • Compose complexity at the client side

×