I just can't resist this conversation, sigh. What do you mean by "efficient"? In GAE-land there is only "more expensive" and "less expensive". Depending on what you are doing, Java _could_ be less expensive than Python; lots of algorithmic manipulation (even just a lot of serialization) will burn significantly more Python-hours than Java-hours.
But if you go Java, and you have a sophisticated app (ie lots of class files), you will start to bump into long app startup times and user-facing cold starts, which screws up the UX. Python is not immune to this problem, just less severe. Go apps appear to be immune... but then you have to use Go. The bigger problem is that it sounds like you want to iterate through 50k entities in some sort of aggregation pattern. You may end up jumping through some hoops to make that perform. Jeff On Mon, Mar 11, 2013 at 5:38 PM, <[email protected]> wrote: > Thanks for the reply Jim. The things you mentioned below I am not doing, but > in terms of reading strings from the data store very frequently and updating > them, which is the sole purpose of my app, would you agree in this scenario > python is more efficient than Java? > > > On Monday, March 11, 2013 10:44:54 AM UTC-7, [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. > > -- 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.
