The sentiment is not anti-Java, it is anti GAE/Java. Writing "Hello world" to the datastore takes 4-5 seconds to cold start load on an F2 in GAE/Java. That is on good days, it could take twice as long on stormy days. The more the application grows, the worse this gets.
Why risk 5+ second response times? Wait until Google has fixed the Java instance loading time issue before you embark on writing Java apps for GAE. FYI, I used the low-level API and no frameworks. Latency was untenable. On Tuesday, March 12, 2013 10:08:26 AM UTC-7, Vinny P wrote: > > There's a lot of anti-Java sentiment here, which is justifiable > considering the problems Java has and is having on AppEngine. With that > said, Java is only a problem if you're loading in a bunch of libraries > (classloading is slow on GAE). If all you're doing is manipulating the > datastore,you can do that with the low-level API and skip using the Apache > PersistenceManager and other datastore abstractions. > > I would also recommend that you look into Cloud SQL ( > https://developers.google.com/cloud-sql/docs/introduction ). While the > datastore is a great place to store data, it can also be very spiky in > terms of latency. Cloud SQL IMHO seems to be less spiky, and since your > data has a clear schema, SQL can work for you. It might also be cheaper, > depending on your use patterns. > > -Vinny > > On Monday, March 11, 2013 12:44:54 PM UTC-5, [email protected] wrote: >> >> >> Hello, I was wondering if someone could help me choose the best strategy >> for my application in terms of design.I want to use the least amount of >> resources as I can and optimize my code. My application is essentially >> written in html and javascript. I will use java to access the datastore >> (unless there is another more efficient way?). So essentially I will be >> storing two main things inside the datastore. A notification status (1 >> single integer, I am expecting about 200,000 of these to be stored) and >> content (5000 ascii characters each expecting about 200,000 of these as >> well). They will be access quite frequently (most likely 50,000 >> notifications and content will be read and updated every 30 mins). I have >> read much about optimizing from google here, but I am wondering as well >> what people would suggest I do to use the least amount fo resources so I >> can compare. >> >> Thanks! >> Cheers > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
