14 points · by coliveira · 18y ago · 27 comments
Do you see reasons why a startup wouldn't be successful using Gapp engine? The main issue I see is the lack of proper database layer (only Gdata store), but do you think this is something that desqualifies Gapp engine?
I would be glad to hear your comments.
Main issues for a startup using AppEngine:
1) Quotas. Until they let you pay-as-you-go, AppEngine isn't really production ready. There are file # limits and quotas you may trip, depending on your target market. Google says they'll open things up by the end of this year.
2) Processing issues. AppEngine isn't a good platform for CPU-intensive processing apps. Transcoding videos, for example, is kind of a no-brainer for Amazon EC2 versus AppEngine. I think the AppEngine team is working on background processing systems but nothing is public yet.
3) HTTPS. There's none right now. You can use Google authentication, so that's one workaround but this is a deal-breaker for a number of possible apps.
These are the main ones that jump out at me. On the positive side, I think it's awesome to outsource significant infrastructure issues (servers, DB) to Google. I've got too much to code as is, so I'd much rather delegate the chunks I'm not as competent or interested in.
I'm not as concerned about lock-in, although I understand how others may take a different viewpoint. Also, tethering yourself to Google may have some repercussions if you are trying to get acquired by one of their competitors. (But I think you should just worry about your business first and not the exit strategy.)
Today, there is no service level agreement; there is no way to buy more capacity; the service has rigid standards that can be unreasonable for many applications.
I like the idea of AppEngine for both reliability and scalability, but today it offers neither. It has seen a good bit of downtime and it's limited to small sites (5 million page-views a month). Without those two things, what does it offer? Nothing that you couldn't do better on another host.
Probably more important are the rigid standards you must adhere to. File uploads are capped at 1MB. Someone tries to upload a photo larger than that and it just fails. Likewise, the datastore isn't flexible. Your advantage as a startup is that you don't have to worry about scalling to 100 million users at launch. You can use things like database joins to make your development faster.
Not only that, but the AppEngine can't handle this simple SQL:
select * from articles where author_id in (:mike_id, :adam_id) order by date desc
Why? Because you must order based on the first filter in the where clause! Now, that's an important restriction when you're dealing with a petabyte of information. It's just a handicap when you're a startup. There are restrictions all over like this - restrictions that make sense when you're storing information for hundreds of millions of users.
Basically, AppEngine forces you to scale your app from day one. That means that you loose your main advantage that you as a startup have against large firms.
And it just isn't that hard to set up a server. Install Apache and a SQL database and start coding! It's a lot easier than AppEngine's restrictions.
If you're dealing with queries on a petabyte of information, you'd likely have to deal with a number of issues, whether sharding, managing clusters of DB servers, etc. Sure, you have to structure your queries differently if you use Google's datastore but it's a trade-off.
Being forced to think about scale-friendly coding isn't necessarily a bad thing.
> "the datastore isn't flexible"
I think you mean the datastore doesn't support the full spectrum of queries you expect from relational DBs. You can add new properties on-the-fly, so the schemas are extremely flexible in that regard. Just throw data at your datastore.
The initial example was PIL, or the Python imaging library, that a lot of web developers use to resize images for their sites. App Engine didn't support using PIL because it was a third party library, and when enough developers complained they opened up the API that's used for Picasa's web albums.
Another issue that you might run into is merchant accounts and libraries for credit card purchases. You can't use them, and as of a month ago when I was looking at GAE, there was no solution.
What doesn't work is Python code that has C extensions. There are obviously security issues there. That's the reason the PIL was initially disabled.
I don't think you should care for a startup. The only thing I'm missing is the use of external apps like LaTeX to build png images from math formulas.
There are no quota packages available and the lack of HTTPS is a real problem.
This isn't unlike the storage problems PHP had quite a few years ago. There was a separate module for every database that was supported and they lacked consistent naming conventions as well as consistent functionality. It was literally one set of functions you used to talk to MySQL and a completely different set of functions for PostgreSQL or SQL Server. This is still reflected in the documentation: http://www.php.net/manual/en/refs.database.php
For a long time there wasn't a common wrapper for all of these modules so if you started with MySQL and needed to move to Oracle or something you had to rewrite a bunch of code. I had to do that once and I never used PHP again.
It seems that's where we're at with App Engine and BigTable. I'm sure there's going to eventually be something equivalent or some sort of abstraction, but I wouldn't want to be holding my breath.
I see one application where this could be true: giving people an application they can install for themselves, without any costs. With GAE, for the first time everybody can just install a web application, same way they can just install a plugin on their own computer. Even better, they might sometimes not be able to install something on their computer (no admin rights), but they would probably always be able to install a GAE thing.
Here's the link which shows how to do it: http://appengineguy.com/2008/06/how-to-full-text-search-in-g...
There's are other places like appenginefan.com and appengineguy.com which provide tips and tricks for appengine developers.
I am waiting for the pay-as-you-go model, because until that, the app isn't 'really' scalable.
I just posted a thread in the Google AppEngine groups asking about the launch of the pay-as-you-go model.
Here's the link to the thread: http://groups.google.com/group/google-appengine/browse_threa...
First go read the responses to the article "Maybe Normalizing Isn't Normal" at http://www.codinghorror.com/blog/archives/001152.html which should convince you to normalize your database.
Secondly peruse the Google App Engine newsgroup at http://groups.google.com/group/google-appengine wherein much ado is made about how normalization is a _bad_ thing for Google App Engine databases.
Finally choose: do you want a consistent database or a very, very fast database that may be inconsistent?
I chose consistency and consequently abandoned the idea of using Google App Engine. I gain further peace of mind by _not_ abandoning decades of relational database wisdom.
Google isn't infallible.
In my opinion, a startup is about idea + team + execution. You could do it in Rails or Python or PHP (or Arc or Lisp).. :)
I'd most recommend GAE if you are in any way interested in open sourcing. It's a great platform for quickly sharing and re-deploying applications.
Your question is meaningless without that.
You're right that the details count, though:-)
Look for a startup engine.