Saturday, May 1, 2010

Unusable Google App Engine - Time wasting efforts with Google App Engine

ok. I tried to inserted the data somehow each record with a new request and that worked fine. Now I tried to delete the data.

Tried to delete all at once. Did not work. Tried 100 at a time, Did not work.
Tried even 10 at a time, did not work. Deleting one by one that worked. Stupid Stuff !



 javax.jdo.Query q = pm.newQuery(Agent.class);

        Collection results = (Collection) q.execute();

        int deletecount =0;

        Iterator iter = results.iterator();

           while (iter.hasNext()) {

               if( deletecount > 1 )

                   break;

               pm.deletePersistent(iter.next());             

               deletecount++;

           }


If I try to delete one by one, then my quota got over. :)  I used to delete millions of records at a time with the existing Databases. Google Datastore or Big Table (I would say funny table) it is a total crap here and totally unusable for enterprise.

I use Microsoft Windows just for browsing and playing games. (Sometimes it is not even worth to play games). Same here too. So far felt comfortable with Google technologies, the app engine is a total crap and the datastore is too crappy. So if you want to use cloud computing and don't deal with huge data at the same time, just like writing personal home based applications, then I would say, opt for Google Appengine. Otherwise keey away and don't waste your time.


More over from the above graph I have still lot of CPU hours left in Datastore CPU Time, I don't know what is the fun of limitation out there. So Daily quota is not Daily Quote, it is per second Quota. Just for marketing purposes they come with the big numbers above.

With the above facts, it becomes unusable for me to work with except to host static files and funny websites. Not yet ready for enterprise and not so reliable though.

No comments: