Mastering Google App Engine
暫譯: 精通 Google App Engine

Mohsin Shafique Hijazee

  • 出版商: Packt Publishing
  • 出版日期: 2015-10-08
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 297
  • 裝訂: Paperback
  • ISBN: 1784396672
  • ISBN-13: 9781784396671
  • 海外代購書籍(需單獨結帳)

商品描述

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 guide to ensure your mastery of Google App Engine

Who This Book Is For

If you have been developing web applications in Python or any other dynamic language but have always wondered how to write highly scalable web applications without getting into system administration and other plumbing, then this is the book for you. No experience in writing scalable applications is required.

What You Will Learn

  • Scale and develop your applications with Google App Engine's runtime environment
  • Get to grips with request handling mechanism and write request handlers
  • Deep dive into Google's distributed NoSQL and highly scalable datastore and design your application around it
  • Implement powerful search with scalable datastore
  • Perform long-running tasks in the background using task queues
  • Write compartmentalized apps using multi tenancy, memcache, and other Google App Engine runtime services
  • Handle web requests using the CGI, WSGI, and multi-threaded configurations
  • Deploy, tweak, and manage apps in production on Google App Engine

In Detail

Developing web applications that serve millions of users is no easy task, as it involves a number of configurations and administrative tasks for the underlying software and hardware stack. This whole configuration requires not only expertise, but also a fair amount of time as well. Time that could have been spent on actual application functionality.

Google App Engine allows you develop highly scalable web applications or backends for mobile applications without worrying about the system administration plumbing or hardware provisioning issues. 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 and developing robust scalable web applications of your own, utilizing services available on Google App Engine.

Starting with a walkthrough of scalability is and how scalable web applications work, this book introduces you to the environment under which your applications exist on Google App Engine. Next, you will learn about Google's datastore, which is a massively scalable distributed NoSQL solution built on top of BigTable. You will examine the BigTable concepts and operations in detail and reveal how it is used to build Google datastore. Armed with this knowledge, you will then advance towards how to best model your data and query that along with transactions. To augment the powerful distributed dataset, you will deep dive into search functionality offered on Google App Engine. With the search and storage sorted out, you will get a look into performing long running tasks in the background using Google App Engine task queues along with sending and receiving emails. You will also examine the memcache to boost web application performance, image processing for common image manipulation tasks. You will then explore uploading, storing, and serving large files using Blobstore and Cloud storage.

Finally, you will be presented with the deployment and monitoring of your applications in production along with a detailed look at dividing applications into different working modules.

Style and approach

This book is an in-depth guide where you will examine the problems in the context of highly scalable web applications. This book will take you through the libraries, services, and required configuration and finally puts everything together into a small web application that showcases all the capabilities of Google App Engine.

商品描述(中文翻譯)

**建立穩健且高度可擴展的網頁應用程式,使用 Google App Engine**

## 本書簡介
- 深入了解 Google App Engine 的運作原理
- 設計並建模您的應用程式,圍繞 Google 的高度可擴展分散式 NoSQL 數據存儲,以發揮其全部潛力
- 一本全面的指南,確保您掌握 Google App Engine

## 本書適合誰
如果您一直在使用 Python 或其他動態語言開發網頁應用程式,但總是想知道如何在不涉及系統管理和其他基礎設施的情況下編寫高度可擴展的網頁應用程式,那麼這本書就是為您而寫的。無需具備編寫可擴展應用程式的經驗。

## 您將學到什麼
- 使用 Google App Engine 的運行環境擴展和開發您的應用程式
- 理解請求處理機制並編寫請求處理器
- 深入了解 Google 的分散式 NoSQL 和高度可擴展的數據存儲,並圍繞它設計您的應用程式
- 實現強大的搜索功能,使用可擴展的數據存儲
- 使用任務隊列在背景中執行長時間運行的任務
- 使用多租戶、memcache 和其他 Google App Engine 運行時服務編寫模組化應用程式
- 使用 CGI、WSGI 和多線程配置處理網頁請求
- 在 Google App Engine 上部署、調整和管理生產中的應用程式

## 詳細內容
開發能夠服務數百萬用戶的網頁應用程式並非易事,因為這涉及到底層軟體和硬體堆疊的多項配置和管理任務。這整個配置不僅需要專業知識,還需要相當多的時間,而這些時間本可以用於實際的應用程式功能開發。

Google App Engine 允許您開發高度可擴展的網頁應用程式或移動應用程式的後端,而無需擔心系統管理的基礎設施或硬體配置問題。只需專注於編寫您的業務邏輯,即應用程式的核心,讓 Google 的強大基礎設施自動擴展到每秒數千個請求和數百萬用戶,而您無需付出任何努力。

本書將帶您從解釋可擴展應用程式的運作方式開始,到設計和開發您自己的穩健可擴展網頁應用程式,利用 Google App Engine 上可用的服務。

本書首先介紹可擴展性是什麼以及可擴展網頁應用程式的運作方式,接著介紹您的應用程式在 Google App Engine 上存在的環境。然後,您將了解 Google 的數據存儲,這是一個建立在 BigTable 之上的大規模可擴展分散式 NoSQL 解決方案。您將詳細檢查 BigTable 的概念和操作,並揭示它是如何用來構建 Google 數據存儲的。掌握這些知識後,您將進一步了解如何最佳建模您的數據並進行查詢及交易。為了增強強大的分散式數據集,您將深入了解 Google App Engine 提供的搜索功能。在解決搜索和存儲問題後,您將了解如何使用 Google App Engine 任務隊列在背景中執行長時間運行的任務,以及發送和接收電子郵件。您還將檢查 memcache 以提升網頁應用程式性能,進行常見圖像處理任務的圖像處理。接著,您將探索使用 Blobstore 和 Cloud storage 上傳、存儲和提供大型文件。

最後,您將學習如何在生產環境中部署和監控您的應用程式,並詳細了解如何將應用程式劃分為不同的工作模組。

## 風格與方法
本書是一個深入的指南,您將在高度可擴展的網頁應用程式的背景下檢視問題。本書將帶您了解所需的庫、服務和配置,並最終將所有內容整合到一個小型網頁應用程式中,展示 Google App Engine 的所有功能。