Google App Engine作为制作平台 [英] Google App Engine as production platform

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

问题描述



问题:
$
我们即将开始研究新的商业网站项目,并将Google App Engine视为潜在平台。 b $ b


  1. Google App Engine是否真的是
    可扩展的,并且可以被视为商业
    项目的
    制作平台?

  2. 长期来看,它比较好的托管公司
    服务更昂贵(或
    便宜)吗?
    b
    可能(并且相当便宜)将应用程序从Google App Engine移动到
    独立服务器/农场(例如,使用它
    作为私人系统,利用我们的
    自己的硬件等)?

  3. 是否有一些
    机制来处理DDoS攻击?

  4. 我可以对
    应用数据进行完整备份

对不起,这样愚蠢的问题。

解决方案我会回答问题1:



我正在试用一个新的应用程序引擎Web应用程序的试用阶段。我们花了大约一个月的时间编写代码,为第一位客户做好准备。他们上周上线了。他们喜欢这个软件,但是几天前我开始在应用程序中获得超过错误的随机截止日期。你查找一个记录或一个列表,它会以毫秒为单位返回。接下来将需要30秒钟,并返回超过截止日期的错误。

仪表板中的堆栈轨迹给出随机结果。我已经尝试了一切,甚至将应用剥离到了一个hello世界。我在我们的django进程请求中间件中放入了一条日志消息,这是我们执行代码的第一位。这表明,在超时请求从谷歌获取请求运行我们的process_request代码需要25秒。我发布到谷歌论坛,什么都没有。我在谷歌联系了一个人,他们很快回复,但只是说他们会联系团队。没有什么,因为。



这可能是我正在做的事情,但我真的怀疑它。谷歌不提供支持,所以我基本上不幸运。



如果这是一个完整的商业应用程序,我会倒闭。

tl; dr :谷歌应用引擎有很大的希望,但需要成熟并且不适合商业生产。 $ b

We are about to start working on new commercial web project and considering Google App Engine as a potential platform.

Questions:

  1. Does Google App Engine is really scalable and may be considered as a production platform for commercial project?
  2. Is it more expensive (or cheaper) than good hosting company service in long run?
  3. Is it possible (and pretty cheap) to move the app from Google App Engine to independent server/farm (e.g. to use it as a private system, to exploit our own hardware etc.)?
  4. Is there some mechanism to deal with DDoS attacks?
  5. Can I make a full backup of the app data?

Sorry for such silly questions.

解决方案

I'll answer question 1:

I'm in the pilot phase of a new web application on app engine. We've spent about a month writing code and getting things ready for our first customer. They went live last week. They love the software but a couple of days ago I started to get random deadline exceeded errors in the application. You look up a record or a list and it would come back in miliseconds. The next go it would take 30 seconds and come back with a deadline exceeded error.

The stack traces in the dashboard give random results. I've tried everything, even stripping the app down to a hello world. I put a log message into our django process request middleware, the first bit of our code that gets executed. It was showing that on the timeout requests it took 25 seconds from google getting the request to running our process_request code. I posted to the google forum and got nothing. I contacted someone at google and they answered back quickly but only said they would contact the team. Nothing since.

It is possible there's something I'm doing to cause this but I really doubt it. Google doesn't provide support so I'm basically out of luck.

If this was a full blown commercial application I'd be out of business.

tl;dr: google app engine has great promise but needs to mature and is not yet suitable for comercial production

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

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