[google-appengine] Re: ndb, get_by_id can not get an entity with a parent key only by id?

2014-07-23 Thread Jay
I refer you to line 3865 of __init__ in the ext.db package in the sdk. This is on a _ReverseReferenceProperty that gets setup. If I have time tomorrow I will write a quick test to demonstrate. On Wednesday, July 23, 2014 11:11:31 AM UTC-5, saintthor wrote: > > are you sure? > > i tested in two ap

Re: [google-appengine] Re: Google app engine speed python vs java execution time

2014-07-23 Thread Vinny P
On Wed, Jul 23, 2014 at 10:04 AM, Olivier Austina wrote: > I have a code in C++ and I would like to run the program in App Engine. I > am wondering which language is fast in app engine in terms of execution > time. > That gets a bit more difficult. I realize you specified that the app will be d

Re: [google-appengine] Re: Google app engine speed python vs java execution time

2014-07-23 Thread Luna Duclos
Go is by far the fastest runtime for appengine currently, as it is (as far as I'm aware) the only compiled language currently in the mix. On Wed, Jul 23, 2014 at 5:04 PM, Olivier Austina wrote: > Thank you Vinny, I am about runtime speed. I have a code in C++ and I > would like to run the progr

Re: [google-appengine] Trying to figure out why my app has unexpected overhead

2014-07-23 Thread Vinny P
On Wed, Jul 23, 2014 at 6:00 AM, Adrian Randall wrote: > Thanks for the reply — that’s the lag I’m seeing, correct. However, I log > around that pickling step to get time stamps and it looks like the step > only takes ~20ms to do: > I wouldn't trust the log data so quickly if I were you. Lookin

Re: [google-appengine] Strange requests in my log

2014-07-23 Thread Vinny P
On Wed, Jul 23, 2014 at 8:41 AM, Matija wrote: > Does anybody know what are these strange requests in my log? What ' > http://gungamesz.com/' and 'http://strigkaomsk.ru' means in them? > > 46.118.159.53 - - [22/Jul/2014:18:20:50 -0700] "GET / HTTP/1.1" 200 2941 " > http://gungamesz.com/"; "Mozil

[google-appengine] Re: ndb, get_by_id can not get an entity with a parent key only by id?

2014-07-23 Thread saintthor
are you sure? i tested in two apps. the first is using query. when i do a query, the read ops increases about 300. the second is using referenceproperty as above, after 5 times showing, there is no obviously increase. the articles in the second app is much more than the first. so i don't think

[google-appengine] Re: Google app engine speed python vs java execution time

2014-07-23 Thread Olivier Austina
Thank you Vinny, I am about runtime speed. I have a code in C++ and I would like to run the program in App Engine. I am wondering which language is fast in app engine in terms of execution time. Regards Olivier Le mardi 22 juillet 2014 22:34:53 UTC+2, Olivier Austina a écrit : > > > Hi All, > >

[google-appengine] Strange requests in my log

2014-07-23 Thread Matija
Does anybody know what are these strange requests in my log? What 'http://gungamesz.com/' and 'http://strigkaomsk.ru' means in them? Tnx 2014-07-23 03:20:50.181 / 200 74ms 2kb Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) module=default version=not_ver 46.118.159.53

Re: [google-appengine] Trying to figure out why my app has unexpected overhead

2014-07-23 Thread Adrian Randall
Thanks for the reply — that’s the lag I’m seeing, correct. However, I log around that pickling step to get time stamps and it looks like the step only takes ~20ms to do: logging.debug("To get to index search took %s seconds"%(time.time()-start_time)) search_results_pickle = jsonpickle.