Mastering Google App Engine build robust and highly scalable web applications with Google App Engine

Just focus writing on your business logic, the meat of the application, and let Google's powerful infrastructure scale it to thousands of requests per second and millions of users without any effort on your part. This book takes you from explaining how scalable applications work to designing an...

Full description

Bibliographic Details
Main Author: Hijazee, Mohsin Shafique
Format: eBook
Language:English
Published: Birmingham, UK Packt Publishing 2015
Series:Community experience distilled
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
Table of Contents:
  • Asynchronous versionsModel hooks; Summary; Chapter 5: Queries, Indexes, and Transactions; Querying your data; Queries under the hood; Single-property queries; Examples of single-property queries; Multiple property indexes; Working with indexes; The query API; The Query object; App; Namespace; Kind; The ancestor; The projection; Filters; The orders; Further query options; Filtering entities; Filtering repeated properties; Filtering structured properties; The AND and OR operations; Iterating over the results; Conclusions; Transactions; Summary; Chapter 6: Integrating Search; Background
  • XMPPChannels; Users; OAuth; Writing and deploying a simple application; Installing SDK on Linux; Installing SDK on Mac; Installing SDK on Windows; Writing a simple app; Deploying; Summary; Chapter 2: Handling Web Requests; Request handling; The CGI program; Streams and environment variables; CGI and Google App Engine; WSGI; Problems with CGI; Solutions; What WSGI looks like?; WSGI
  • Multithreading considerations; WSGI in Google App Engine; Request handling in App Engine; Rendering templates; Serving static resources; Cache, headers, and mime types; Serving files; Using web frameworks
  • Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Understanding the Runtime Environment; The overall architecture; The challenge of scale; How to scale with the scale?; Scaling in practice; Infrastructure as a Service; Platform as a Service; Containers; How does App Engine scales?; Available runtimes; Python; The Java runtime environment; Go; PHP; The structure of an application; The available services; Datastore; Google Cloud SQL; The Blobstore; Memcache; Scheduled Tasks; Queues Tasks; MapReduce; Mail
  • NamespacesThe Kind; The ID; The key; Modeling your data; The first approach
  • storing a reference as a property; The second approach
  • a category within a key; Properties; The required option; The default option; The repeated option; The choices options; The indexed option; The validator option; The available properties; Structured Properties; The computed properties; The model; The constructor; Class methods; The allocate_ids() method; The get_by_id() method; The get_or_insert() method; The query() method; The instance methods; The populate() method; The put() method; The to_dict() method
  • Built-in frameworksUsing external frameworks; Using Bottle; Summary; Chapter 3: Understanding the Datastore; The BigTable; The data model; How is data stored?; The physical storage; Some limitations; Random writes and deletion; Operations on BigTable; Reading; Writing; Deleting; Updating; Scanning a range; Selecting a key; BigTable
  • a hands-on approach; Scaling BigTable to BigData; The datastore thyself; Supporting queries; Data as stored in BigTable; Implementation details; Summary; Chapter 4: Modeling Your Data; The data modeling language; Keys and internal storage; The application ID