Mastering Google App Engine : build robust and highly scalable web applications with Google App Engine /
Build robust and highly scalable web applications with Google App Engine About This Book Get an in-depth look at how Google App Engine works under the hood Design and model your application around Google's highly scalable distributed NoSQL datastore to unlock its full potential A comprehensive...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2015.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- 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
- 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
- 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
- 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
- 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