Final GAE vs AWS architectural decision

前端 未结 2 487
无人共我
无人共我 2021-01-31 12:15

I know this has been asked one way or another before, but most of the main issues to do with GAE stability seem to have been asked around the end of 2008, early 2009, or aren\'t

相关标签:
2条回答
  • 2021-01-31 12:32

    BuddyPoke is one example of a large-scale social app running on GAE. How large I'm not sure. This article says 30m daily page views (not users):

    http://googleappengine.blogspot.com/2008/10/app-engine-case-studies.html

    Their facebook page says 2.7 million monthly (not daily) users:

    http://www.facebook.com/buddypoke

    Although, they are also on a heap of other social networks:

    http://www.buddypoke.com/

    Personally I decided to go with GAE, for a couple of main reasons:

    • The unit of scalability is a single request, not a whole instance like it is with AWS.
    • I can work at a higher level, without having to worry about configuring instances.

    If your point 4 is a big one for you, then you may be better off with AWS. With GAE there appears to be nothing you can do, and no-one you can contact.

    About a week ago I had an issue with my app - it had suddenly started failing in Google's code, in a location which had been working fine for the last 5 days, ie since I had last uploaded my app. The only way to report issues to Google seems to be via their production issue template, here:

    http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue

    I reported the issue, and didn't hear anything. Since it's running on Google's servers I was unable to resort to any 'usual' emergency tactics like restarting a server. An hour later and the problem resolved itself - I'm not sure if someone at Google saw my message and fixed something, or if it just went away. I updated my bug report to say the problem was fixed, but even now a week later the issue hasn't been closed or even acknowledged. Also since the issue has to be posted publicly, my app is now getting random hits from bots.

    Admittedly my app is currently only in beta and so only has a hundred or so users, and so it wasn't a major incident for me. If I was getting thousands / millions of hits, maybe either Google would have noticed the problem themselves earlier, or they would have paid more attention to my bug report.

    On your point 3, even my small app with a small amount of traffic throws occasional data store errors (even during times which aren't reported on the availability charts as outages).

    Having said this, I still like GAE (I am using the Python version), and plan to stick with it. The promise of GAE is its scalability - although it falls over occasionally now for my small traffic, it shouldn't fall over any more when it scales to much more traffic (ie your point 2), provided I've coded it correctly to avoid contention. I'll see how it goes.

    Finally regarding your point 1, the blobstore and/or static files are more like a CDN on GAE, than the datastore. However for very large amounts of traffic, a real CDN may be cheaper. It's also not necessarily a CDN, see Google app engine & CDN.

    0 讨论(0)
  • 2021-01-31 12:34

    I've never worked with AWS-EC2 so I'm going to share my knowledge just on the Google App Engine side.

    1. Google App Engine is not meant to be a CDN; though it can serve static content through its powerful infrastructure providing caching close to the users, it does not guarantee the same kind of high quality and high availability service of a real CDN because it's not part of its duties.
      Further data:
      • Maximum size of a file using the BlobStore service: 2 Gigabytes
      • Maximum size of a static file: 10 Megabytes
      • Currently App Engine always returns 200 status for static files even on Conditional gets (you have to rely on third party caching library like cirruxcache for example).
    2. Recently Google App Engine team has shut down the App Gallery for one simple reason: too many Toy Apps!
      Google wants to counteract this tendency showing successful businesses case studies; here are some of them:

      • BuddyPoke (viral Facebook app with 65 million installs)
      • WalkScore (serves 3 million request a day to thousands of real estate partner sites)
      • Webfillings
      • Snapabug
      • Optimizely
      • Ubisoft Facebook TikTok game

      Other interesting case studies here

    3. "We are well aware of downtimes and reliability issues, and are working hard to solve them: Improving App Engine reliability is our number one priority" was recently said by a Google Developer Relations Manager here.
      App Engine is still in beta and is an evolving platform so you have to be prepared to deal with downtimes and issues.

    4. Google App Engine team has just launched a preview of App Engine for Business providing 99.9% uptime service level agreement and premium developer support available.

    Here is my opinion for what it's worth:
    I'm aware that it's a tough call; having read a lot of articles about GAE I have mixed feelings about it because you can go from the recent catastrophic Carlos Ble report to the happy experience of Flower Garden or Gri.pe.
    App Engine for Business looks promising and I would consider it in the case of a serious business project plan. The fresh SDK 1.4.0 is huge and it clearly shows that the Team is really pushing hard to fix some annoying issues (Warmup requests) and relaxing some limitations (10 minutes process on TaskQueue).

    Last thing to consider: if you are going to have big numbers, the Google App Engine Team will probably take your app as a successfull case study to follow with a boost of free and powerful Hype.

    0 讨论(0)
提交回复
热议问题