google web app v1.1

Upload: dharascribd

Post on 05-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/2/2019 Google Web App v1.1

    1/27

    - Dhara Thakker

  • 8/2/2019 Google Web App v1.1

    2/27

    Introduction App Engine Parts

    Runtime Environment

    Java Environment

    DataStore Services

    Uploading to App server

    Usage Quotas

    Restrictions Competitors

    Benefits

    2

  • 8/2/2019 Google Web App v1.1

    3/27

    Google Web App is a cloud computing platform for

    developing & web application hosting service. Google App Engine is Platform as a Service (PaaS)

    technology.

    Google App Engine lets you run your web applicationson Google's infrastructure.

    App Engine applications are easy to build, easy tomaintain, and easy to scale as your traffic and datastorage needs grow.

    With App Engine, there are no servers to maintain: You

    just upload your application, and it's ready to serve yourusers.

    Google App Engine supports apps written in severalprogramming languages.

    3

  • 8/2/2019 Google Web App v1.1

    4/27

    One can build your app using standard Javatechnologies, including the JVM, Java servlets, and

    Java programming languageor any otherlanguage using a JVM-based interpreter orcompiler, such as JavaScript or Ruby. App Enginealso features a dedicated Python runtimeenvironment.

    It is used to host Web Applications or TraditionalWeb contents.

    Google Web

    App

    Web

    Applications

    Traditional Web

    Contents

    4

  • 8/2/2019 Google Web App v1.1

    5/27

    Shopping Carts

    Social

    Networking

    Sites

    Multi-player

    Games

    Survey

    Applications

    Project

    ManagementCollaboration

    Publishing

    5

  • 8/2/2019 Google Web App v1.1

    6/27

    Traditional

    Website content

    Documents

    Images

    6

  • 8/2/2019 Google Web App v1.1

    7/27

    It is designed to host applications with manysimultaneous users.

    WebApplication

    7

  • 8/2/2019 Google Web App v1.1

    8/27

    When no. of users increases, application cankeep on working without degrading

    performance. In other words, application can scale.

    As users increases, App Engine allocatesmore resources to the application.

    One pays per usage of resources. Resourcesare measured in GigaBytes.

    There is NO monthly fees or upfront fees ,

    you only pay for what you use.

    8

  • 8/2/2019 Google Web App v1.1

    9/27

    Resources

    WebApplication

    Google App Engine

    9

  • 8/2/2019 Google Web App v1.1

    10/27

    Bandwidth

    Storage

    CPU

    App specificresources

    Resources

    Web

    Application

    Google App Engine

    Incoming

    Outgoing

    10

  • 8/2/2019 Google Web App v1.1

    11/27

    Both incoming & outgoing bandwidth isbilled.

    Free resources are enough for smallapplication with low traffic.

    Free service level can accommodate 5 millionviews a month, according to Google.

    11

  • 8/2/2019 Google Web App v1.1

    12/27

    12

  • 8/2/2019 Google Web App v1.1

    13/27

    Google App Engine

    Runtime

    EnvironmentData Store

    Scalable

    Services

    13

  • 8/2/2019 Google Web App v1.1

    14/27

    dynamic web serving, with full support for commonweb technologies.

    persistent storage with queries, sorting andtransactions.

    automatic scaling and load balancing.

    APIs for authenticating users and sending email usingGoogle Accounts.

    a fully featured local development environment thatsimulates Google App Engine on your computer.

    task queues for performing work outside of the scopeof a web request.

    scheduled tasks for triggering events at specifiedtimes and regular intervals.

    14

  • 8/2/2019 Google Web App v1.1

    15/27

    Applications run in a secure SANDBOXenvironment that provides limited access tothe underlying operating system.

    Application can run in one of three runtimeenvironments : Go Environment

    Java Environment

    Python Environment

    15

  • 8/2/2019 Google Web App v1.1

    16/27

    App Engine runs your Java web applicationusing a Java 6 JVM in a safe "sandboxed"environment.

    App Engine invokes your app's servlet classes

    to handle requests and prepare responses inthis environment.

    Installation & setup in Eclipse.

    http://www.youtube.com/watch?v=SyRqiA5z

    H_Y&feature=related http://www.youtube.com/watch?v=wcsAP13

    Q47Q&feature=related

    16

    http://www.youtube.com/watch?v=SyRqiA5zH_Y&feature=relatedhttp://www.youtube.com/watch?v=SyRqiA5zH_Y&feature=relatedhttp://www.youtube.com/watch?v=wcsAP13Q47Q&feature=relatedhttp://www.youtube.com/watch?v=wcsAP13Q47Q&feature=relatedhttp://www.youtube.com/watch?v=wcsAP13Q47Q&feature=relatedhttp://www.youtube.com/watch?v=wcsAP13Q47Q&feature=relatedhttp://www.youtube.com/watch?v=SyRqiA5zH_Y&feature=relatedhttp://www.youtube.com/watch?v=SyRqiA5zH_Y&feature=related
  • 8/2/2019 Google Web App v1.1

    17/27

    App Engine provides a distributed datastorage service that features a query engineand transactions.

    It is not like a traditional relational database.Data objects, or entities, have a kind and aset of properties.

    Datastore entities are schemaless.

    It is strongly consistent and uses optimisticconcurrency control.

    17

  • 8/2/2019 Google Web App v1.1

    18/27

    URL Fetch Applications can access resources on the Internet,

    such as web services or other data, using AppEngine's URL fetch service.

    Memcache This service provides your application with a high

    performance in-memory key-value cache that isaccessible by multiple instances of your application.It is useful for data that does not need the

    persistence and transactional features of thedatastore, such as temporary data or data copiedfrom the datastore to the cache for high speedaccess.

    18

  • 8/2/2019 Google Web App v1.1

    19/27

    Mail

    Applications can send email messages using AppEngine's mail service.

    Image Manipulation The Image service lets your application manipulate

    images. With this API, you can resize, crop, rotateand flip images in JPEG and PNG formats.

    Task Queues Applications can perform work outside of a user

    request, initiated by a user request. If an app needs

    to execute some background work, it can use theTask Queue API to organize that work into small,discrete units, called tasks.

    19

  • 8/2/2019 Google Web App v1.1

    20/27

    20

  • 8/2/2019 Google Web App v1.1

    21/27

    http://www.youtube.com/watch?v=P3GT4-m_6RQ&feature=related

    21

    http://www.youtube.com/watch?v=P3GT4-m_6RQ&feature=relatedhttp://www.youtube.com/watch?v=P3GT4-m_6RQ&feature=relatedhttp://www.youtube.com/watch?v=P3GT4-m_6RQ&feature=relatedhttp://www.youtube.com/watch?v=P3GT4-m_6RQ&feature=relatedhttp://www.youtube.com/watch?v=P3GT4-m_6RQ&feature=related
  • 8/2/2019 Google Web App v1.1

    22/27

    Google App Engine requires a google account to get started,

    and an account may allow the developer to register up to 10applications.

    Hard Limits :

    Quota LimitTime per request 30 sec, indefinite for

    backends

    Blobstore size (total file size per app) 2 GB

    HTTP response size 32 MB

    Datastore item size 1 MB

    Application code size 150 MB

    Memory cap 128MB, up to 1GB perinstance for backends

    22

  • 8/2/2019 Google Web App v1.1

    23/27

    Free Quotas :

    Quota LimitEmails per day 2000

    Bandwidth in per day 1 GB

    Bandwidth out per day 1 GB

    CPU time per day (to be removed) 6.5 hours per day

    Instance-hours (IH) 24 hours per day*

    Data stored 1 GB

    URLFetch API calls per day 657,084*

    23

  • 8/2/2019 Google Web App v1.1

    24/27

  • 8/2/2019 Google Web App v1.1

    25/27

    Amazon Web Services Microsoft's Azure Services Platform

    Salesforce.com's Force.com Platform

    Sina.com's Sina App Engine Heroku

    25

    http://en.wikipedia.org/wiki/Amazon_Web_Serviceshttp://en.wikipedia.org/wiki/Azure_Services_Platformhttp://en.wikipedia.org/wiki/Force.comhttp://en.wikipedia.org/w/index.php?title=Sina_App_Engine&action=edit&redlink=1http://en.wikipedia.org/wiki/Herokuhttp://en.wikipedia.org/wiki/Herokuhttp://en.wikipedia.org/w/index.php?title=Sina_App_Engine&action=edit&redlink=1http://en.wikipedia.org/w/index.php?title=Sina_App_Engine&action=edit&redlink=1http://en.wikipedia.org/w/index.php?title=Sina_App_Engine&action=edit&redlink=1http://en.wikipedia.org/wiki/Force.comhttp://en.wikipedia.org/wiki/Azure_Services_Platformhttp://en.wikipedia.org/wiki/Amazon_Web_Services
  • 8/2/2019 Google Web App v1.1

    26/27

    Easy to get Started Free and Risk-free Development

    Automatic Scalability

    The reliability, performance and security ofGoogle's infrastructure

    26

  • 8/2/2019 Google Web App v1.1

    27/27

    27