App engine feature

Embed Size (px)

DESCRIPTION

AppEngine Platform & core feature services

Citation preview

  • 1. Google App Engine Platform and core features services02-Nov-2013#DevFes2013, Phnom Penh@Norton University

2. Sophea MAK Senior Backend Software Engineer GoldenGekko 9+ years experiences in software development 3. Agenda in this session What is Google App-Engine (GAE)?GAE EnvrionmentWhy GAE?How to calculate GAE cost ?GAE core servicesHow GAE App works?GAE Best PrasticeSummary 4. What is Google App-Engine (GAE)? Platform as a Service (Paas)Allow you build web-app run on Google's infrastructureMake your development easy, simple, and scaleYou are in control with nice dashboardIt's not just a hosting service: App Engine empowers you to designyour app in Googly way! 5. GAE Environment Build applications with any of environmentExperimental Experimental 6. GAE Environment : cont. Warning: The App Engine SDK no longer supports Java 6. Applications that use Java 6 need to be migrated to Java 7. Existing applications that use the Java 6 runtime are still supported, but this support will be removed in a future release. The PHP runtime is available as an experimental Preview feature. Please be aware that the APIs and service may change before the service becomes Generally Available. ExperimentalRef: https://developers.google.com/appengine/docs/whatisgoogleappengine 7. Why GAE ?Fast bootstrap Small opeartion Reliability Scalability More .Help avoid commons isssues with file system, threading, and timeout request.Interesting with new Technology ? 8. Why GAE : Runtime ?Helps avoid common pitfalls : file system, time outs and threading ! 9. Why GAE : Operation ?Easy to maintenance, Managing , Monitoring ! All in once place ! 10. Why GAE : Reliability ? 11. Why GAE : BootStrapping ?Up and Running in hours ! 12. Why GAE : Scalability ?small to BIG passion 13. Why GAE : Consolidation ?All in one place ! 14. How to calculate GAE Cost ? - No cost setup and installation - Cost free to get started with limited resources (Mem,CPU, requests) - ONLY pay when consuming1 - type of service 2 - system design 3 - quality of usage 4 - supporting service 15. GAE core services Data storage, retrieval, and search - Datastore - Blobstore - Search - Memcache - Log Communications - Channel - Mail - URL Fetch - XMPPApp configuration and management - App Identity - Capabilities - SSL for Custom Domains - Remote - Multitenancy - Traffic Splitting - UsersProcess management - Task Queue - Scheduled Tasks Computation - Backends - Images Ref : https://developers.google.com/appengine/features/ 16. How GAE App works? Tranditional App Server StructureWhat if you have: Hardware failures, Traffic Spike, Growing Big Data, No initial fund to buy all the hardware, No one to design, implement and operate this complex thing... 17. How GAE App works? 18. GAE Best Prasticse Design Non-relational data model by Datastore/Bigtable: - Denormalization : optimize the read performance : duplicate properties between entities to avoid an extra read, always use queries that run a list of results, never request single result on a loop -Use pagination through larget dataset : Use cursorKey rathen than offset and limit - Use Sharded counter : getCount(),... Memcache is your friend, use it in effective way!For GAE Dev, it's important to understand how things are working inside the App Engine structureto get more benefits from these goals 19. Summary A fantastic service for complex, high availability, scalable service for demanding customers need -1 fast start-up projects: dev can make the app in a few hours -2 easy deployment -3 run-time will support and lead dev. into a good habits while development (esp. dealing with resources - filesystem, request, thread) -4 small operation team can manage a large number of service - All in one place -5 Auto-scaling is nice and reliability as well 20. FAQ!