Google App Engine Explained

Google App Engine
Developer:Google
Released:[1]
Genre:Platform as a service

Google App Engine (also referred to as GAE or App Engine) is a cloud computing platform used as a service for developing and hosting of web applications. Applications are sandboxed and run across multiple Google-managed servers.[2] GAE supports automatic scaling for web applications, allocating more resources to the web application as the amount of requests increases.[3] It was released as a preview in April 2008, and launched officially in September 2011.

Applications written in Go, PHP, Java, Python, Node.js, .NET, and Ruby are supported by the App Engine, and other languages can be supported with additional cost.[4] The free version of the service offers a standard environment with limited resources. Fees are charged for additional storage, bandwidth, or instance hours.[5]

Features

Google App Engine primarily supports Go, PHP, Java, Python, Node.js, .NET, and Ruby applications, although it can also support other languages via "custom runtimes".[6] Any Python framework that supports the WSGI using the CGI adapter can be used to create an application, and the framework can be uploaded with the developed application. Third-party libraries written in Python may also be uploaded.[8] [9]

SDK version 1.2.2 added support for bulk downloads of data using Python.[10]

App Engine's integrated Google Cloud Datastore database has a SQL-like syntax called "GQL" (Google Query Language). GQL does not support the join statement.[11] Instead, one-to-many and many-to-many relationships can be accomplished using .[12]

Google Cloud Firestore is the successor to Google Cloud Datastore and replaces GQL with a document-based query method that treats stored objects as collections of documents. Firestore was launched in October 2017.[13]

Backends

In Google I/O 2011, Google announced App Engine Backends, which were allowed to run continuously and consume more memory.[14] The Backend API was deprecated as of March 13, 2014, in favor of the Modules API.[15]

Google Cloud SQL

In October 2011, Google previewed a zero maintenance SQL database, which supports JDBC and DB-API.[16] This service allows creating, configuring, and using relational databases with App Engine applications. Google Cloud SQL supports MySQL 8.0, 5.7, and 5.6.[17]

Restrictions

Application hosting

While other services let users install and configure nearly any *NIX compatible software, App Engine requires developers to use only its supported languages, APIs, and frameworks. Current APIs allow storing and retrieving data from the document-oriented Google Cloud Datastore database, making HTTP requests, sending e-mail, manipulating images, and caching. Google Cloud SQL[19] can be used for App Engine applications requiring a relational MySQL compatible database backend.[20]

Per-day and per-minute quotas place restrictions on bandwidth and CPU use, number of requests served, number of concurrent requests, and calls to the various APIs. Individual requests are terminated if they take more than 60 seconds or return more than 32MB of data.

Portability concerns

Developers worry that the applications will not be portable from App Engine and fear being locked into the technology.[21] In response, there are a number of projects to create open-source back-ends for the various proprietary/closed APIs of app engine, especially the datastore.

AppScale automatically deploys and scales unmodified Google App Engine applications over popular public and private cloud systems and on-premises clusters.[22] It can run Python, Java, PHP, and Go applications on EC2, Google Compute Engine, Azure, and other cloud vendors.

The Web2py web framework offers migration between SQL Databases and Google App Engine, however, it doesn't support several App Engine-specific features such as transactions and namespaces.[23]

Kubernetes is an open-source job control system invented by Google to abstract away the infrastructure so that open-source (e.g. Docker) containerized applications can run on many types of infrastructure, such as Amazon Web Services, Microsoft Azure, and others.

Usage quotas

Google App Engine requires a Google account to get started, and an account may allow the developer to register up to 25 free applications and an unlimited number of paid applications.[24]

Google App Engine defines usage quotas for free applications. Extensions to these quotas can be requested, and application authors can pay for additional resources.[25]

See also

External links

Notes and References

  1. Web site: Introducing Google App Engine + our new blog . Google App Engine Blog . December 3, 2019 . April 7, 2008.
  2. Web site: Python Runtime Environment - Google App Engine - Google Code . February 22, 1999 . February 14, 2012.
  3. Book: Sanderson, Dan . Programming Google App Engine: Build and Run Scalable Web Apps on Google's Infrastructure . . 2009 . 978-0-596-52272-8 .
  4. Web site: Google App Engine Documentation App Engine Documentation . Google Cloud . December 3, 2019 . en.
  5. Web site: Quotas - Google App Engine - Google Code . February 22, 1999 . February 14, 2012.
  6. Web site: AppEngineFrameworks - tipfy - The almighty little framework for Google App Engine - Google Project Hosting . February 14, 2012.
  7. Python web frameworks that run on Google App Engine include Django, CherryPy, Pyramid, Flask, and web2py as well as a Google-written webapp framework and several others designed specifically for the platform that were created after the release.[6]
  8. Web site: What Is Google App Engine? - Google App Engine - Google Code . February 22, 1999 . February 14, 2012.
  9. Web site: webapp Overview - Google App Engine - Google Code . February 22, 1999 . February 14, 2012.
  10. Web site: Uploading and Downloading Data - Google App Engine - Google Code . February 22, 1999 . February 14, 2012.
  11. Web site: Campfire One: Introducing Google App Engine (pt. 3). Google Developers. April 7, 2008. YouTube.
  12. Web site: Modeling Entity Relationships - Google App Engine — Google Developers . June 26, 2012 . July 17, 2012.
  13. Web site: Google launches Cloud Firestore, a new document database for app developers. TechCrunch. 3 October 2017 . 2018-07-16.
  14. Web site: Backends Python API Overview - App Engine standard environment for Python - Google Cloud Platform. Google Cloud Platform.
  15. Web site: Backends Python API Overview - App Engine standard environment for Python - Google Cloud Platform. Google Cloud Platform.
  16. Web site: Google Cloud SQL: your database in the cloud - The official Google Code blog. October 6, 2011.
  17. Web site: Cloud SQL Features - Cloud SQL Documentation - Google Cloud Platform. Google Cloud Platform.
  18. Web site: The JRE Class White List - Google App Engine - Google Developers . February 22, 1999 . June 14, 2013.
  19. Web site: Google Cloud SQL Databases - Cloud SQL - Google Cloud Platform. Google Cloud Platform.
  20. Web site: Using Google Cloud SQL - App Engine standard environment for Java - Google Cloud Platform. Google Cloud Platform.
  21. Web site: Gallagher . Sean . Analysis: Google App Engine alluring, will be hard to escape . Ars Technica . April 9, 2008 . July 17, 2012.
  22. https://techcrunch.com/2013/06/24/appscale-launches-as-an-open-source-backup-equivalent-to-google-app-engine/ AppScale Launches As An Open-Source Backup Equivalent To Google App Engine
  23. http://web2py.com/book/default/section/11/13
  24. Web site: Google App Engine General Questions. Google Developers. June 18, 2015.
  25. Web site: Understanding Application Quotas with Google App Engine . April 16, 2010.