优点& Google App Engine的缺点 [英] Pros & Cons of Google App Engine

查看:156
本文介绍了优点& Google App Engine的缺点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

[更新名单09年8月21日]



帮我编制一份所有优点和放大器的清单。在Google App Engine上构建应用程序的缺点

优点:


  1. 无需购买服务器或服务器空间(无需维护)。

  2. 解决了扩展问题。达到一定的消耗资源水平。

缺点:


  1. 锁定到Google App Engine中

  2. 开发者对App Engine上的文件系统具有只读权限。
  3. App Engine只能执行从HTTP请求中调用的代码(预定后台任务除外)。
  4. 用户可以上传任意Python模块,但前提是它们是纯Python; C和Pyrex模块不受支持。

  5. App Engine将实体返回的最大行数限制为每个数据存储库调用1000行。 (更新 - App Engine现在支持使用游标访问更大的查询)
  6. Java应用程序只能使用来自JRE标准版。

  7. Java应用程序无法创建新线程。 已知问题!! : http://code.google.com/p/googleappengine/问题/列表



    严格限制

    10

    每次请求的时间 - 30秒

    每个应用程序的文件数 - 3,000

    HTTP响应大小 - 10 MB

    数据存储区项目大小 - 1 MB

    应用程序代码大小 - 150 MB

    更新 Blob商店现在允许存储高达50MB的文件

    Pro或Con?

    App Engine的基础设施消除了建筑应用中的许多系统管理和开发难题离子扩大到数百万次点击。 Google可以根据需要将代码部署到集群,监控,故障转移和启动应用程序实例。



    虽然其他服务允许用户安装和配置几乎任何* NIX兼容软件,引擎要求开发人员使用Python或Java作为编程语言和一组有限的API。当前的API允许存储和检索来自BigTable非关系数据库的数据;发出HTTP请求;发送电子邮件;操纵图像;和缓存。大多数现有的Web应用程序无法修改就无法在App Engine上运行,因为它们需要关系数据库。 解析方案

优点:
$ b


  • 可扩展

  • 简单且便宜(短期内) li>
  • 适用于初创公司/个人的不错选择。

  • 适用于存储和检索数据的应用程序。 >

    缺点:
    $ b


    • 不适合CPU密集型计算。它们更慢,更昂贵。

    • 如果应用程序适用于Google的规模,那么可扩展性无关紧要,因此它可能会让您有足够的资金在自己的服务器上运行。 $ b
    • 它们在这里和那里都有很多限制,因此深层数据分析很困难。就像你不能使用GAE制作社交图表一样。



    我认为它不适合严肃的企业, p>

    [An Updated List 21st Aug 09]

    Help me Compile a List of all the Advantages & Disadvantages of Building an Application on the Google App Engine

    Pros:

    1. No need to buy servers or server space (no maintenance).
    2. Makes solving the problem of scaling easier.
    3. Free up to a certain level of consumed resources.

    Cons:

    1. Locked into Google App Engine ?
    2. Developers have read-only access to the filesystem on App Engine.
    3. App Engine can only execute code called from an HTTP request (except for scheduled background tasks).
    4. Users may upload arbitrary Python modules, but only if they are pure-Python; C and Pyrex modules are not supported.
    5. App Engine limits the maximum rows returned from an entity get to 1000 rows per Datastore call. (Update - App Engine now supports cursors for accessing larger queries)
    6. Java applications may only use a subset (The JRE Class White List) of the classes from the JRE standard edition.
    7. Java applications cannot create new threads.

    Known Issues!! : http://code.google.com/p/googleappengine/issues/list

    Hard limits

    Apps per developer - 10
    Time per request - 30 sec
    Files per app - 3,000
    HTTP response size - 10 MB
    Datastore item size - 1 MB
    Application code size - 150 MB
    Update Blob store now allows storage of files up to 50MB

    Pro or Con?
    App Engine's infrastructure removes many of the system administration and development challenges of building applications to scale to millions of hits. Google handles deploying code to a cluster, monitoring, failover, and launching application instances as necessary.

    While other services let users install and configure nearly any *NIX compatible software, App Engine requires developers to use Python or Java as the programming language and a limited set of APIs. Current APIs allow storing and retrieving data from a BigTable non-relational database; making HTTP requests; sending e-mail; manipulating images; and caching. Most existing Web applications can't run on App Engine without modification, because they require a relational database.

    解决方案

    Pros:

    • Scalable
    • Easy and cheaper (in short term).
    • Nice option for start-ups/individuals.
    • Suitable for apps that just store and retrieve data.

    Cons:

    • Not suitable for CPU intensive calculations. They are slower and expensive.
    • Scalability doesn't matter much cuz if an app works at Google scale then probably it makes enough money to run on its own servers.
    • They have lots of limitations thrown here and there, as a result deep data analysis is difficult. Like you cannot produce a social graph using GAE.

    I would say its not meant for serious businesses and expensive in long run.

    这篇关于优点& Google App Engine的缺点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆