[google-appengine] Re: Trace custom actions in Google Cloud Trace

2016-01-19 Thread troberti
Sadly I do not know how to do that, but being able to create custom traces for Cloud Trace would be really great feature. On Monday, January 18, 2016 at 3:58:58 AM UTC+1, Học Đỗ wrote: > > Hi, > > My GAE app takes about 800ms per request. The Google Cloud Trace shows me > just about 20ms for

[google-appengine] Is this a right way to get data that is joined via many different tables in Datastore?

2016-01-19 Thread Nick
Yes, manually reassembling objects like this is how you create objects which are spread across entities. There are other approaches though, which mean you may not have to do this. Consider storing A line and line items as a single document, which allows you to read the whole thing in one hit.

[google-appengine] Re: Exceeded Soft Private memory usage of 128MB

2016-01-19 Thread Nick (Cloud Platform Support)
Hey Kaan, Interested to try to analyze the source of the issue - what do you mean by "if the routine is slow" - does this refer to the cron schedule being a larger interval, or the time for requests to execute? Are you able to run memory diagnostics in-request to log the rate at which memory

[google-appengine] Re: Exceeded Soft Private memory usage of 128MB

2016-01-19 Thread Nick (Cloud Platform Support)
Hmm, it's hard to tell what might cause the issue from this level of abstraction, but if you ever felt like it, you could produce a small reproduction and a technical report and pass it off to the Public Issue Tracker . It could be a

[google-appengine] Re: Handling user logins with AppEngine PHP and Datastore?

2016-01-19 Thread Alex Kerr
Thanks Tom. These look good! Regards, Alex On Tuesday, January 19, 2016 at 7:48:51 PM UTC, Tom Walder wrote: > > Hi there. > > You might want to consider something like one of these > https://github.com/ircmaxell/password_compat > https://github.com/hautelook/phpass > > Which do a reasonable job

[google-appengine] Re: Exceeded Soft Private memory usage of 128MB

2016-01-19 Thread Kaan Soral
Scenario A 1) Fetch 40 entities 2) Fetch an external url, takes 1-15 seconds 3) Put 40 entities async Scenario B 1) Fetch 40 entities 2) Internal computation, no delay 3) Put 40 entities async So the issue is seldom at A, yet it floods the logs at B At both scenarios, multitude of these

Re: [google-appengine] Re: Google App Engine version 1.9.31 SDK

2016-01-19 Thread Jeff Schnitzer
I already have my engineering team in an ‘eng’ group. Makes perfect sense to me. Jeff On Mon, Jan 18, 2016 at 11:50 AM, Nick wrote: > Thanks for mentioning this - my first impression was 'who the hell asked > for this?' But now that you point it out, this is group

[google-appengine] Handling user logins with AppEngine PHP and Datastore?

2016-01-19 Thread Tom Walder
Hi there. You might want to consider something like one of these https://github.com/ircmaxell/password_compat https://github.com/hautelook/phpass Which do a reasonable job of one way password encryption and then validation. You'll likely need sessions too - and you tweak the session hash if you

[google-appengine] Re: Appengine appears to be serving from the wrong region

2016-01-19 Thread Adam (Cloud Platform Support)
Are you accessing the Betfair API via URL Fetch or Sockets? Are you able to share the feedback from Betfair on which IP is sending the request? Also, does Betfair share any information on how they perform geolocation on IPs (such as a public database, regional registry lookup or other method)?

[google-appengine] Re: Suddenly App Engine not Serving Anymore: Error code 123

2016-01-19 Thread Michael Sander
What do you mean slowing down the app? Lowering the taskqueue execution speed? Cron speed? On Tuesday, January 19, 2016 at 9:03:55 PM UTC-5, Kaan Soral wrote: > > Yes, manually slowing down the app almost diminishes these > > But I still see 40-50 of them every now and then > > On Wednesday,

[google-appengine] Taskqueue Failing with Error Code 123 Before 10 Minute deadline

2016-01-19 Thread Michael Sander
Hi All, Over the past few days I've been getting a lot of Error Code 123 in my Taksqueue. I understand that this error is a deadline, but Taskqueues are supposed to live for 10 minutes, and I get this error far before that. It is difficult to debug because these requests have practically no

Re: [google-appengine] Re: Updates to managed VMs stopped working

2016-01-19 Thread Adam (Cloud Platform Support)
I'll also add that if you have Gold support on one project it's valid for both if they are under the same billing account, so your best route is likely opening a support case. On Tuesday, January 19, 2016 at 6:51:01 PM UTC-5, Adam (Cloud Platform Support) wrote: > > If it's local to the

[google-appengine] Re: Is this a right way to get data that is joined via many different tables in Datastore?

2016-01-19 Thread Hung Ha
Thank you very much On Wednesday, January 20, 2016 at 3:28:12 AM UTC+7, Nick wrote: > > Yes, manually reassembling objects like this is how you create objects > which are spread across entities. > > There are other approaches though, which mean you may not have to do this. > Consider storing >

[google-appengine] Re: Suddenly App Engine not Serving Anymore: Error code 123

2016-01-19 Thread Michael Sander
I've randomly started seeing these too. Did you do anything that worked? On Thursday, June 18, 2015 at 7:50:52 AM UTC-4, Kaan Soral wrote: > > I also see some outages from my logs > > The worst part is that the SLA refunds are not automatic, I have too many > things on my plate and the SLA

[google-appengine] How does Google App Engine Instance hours counted in this particular situation?

2016-01-19 Thread Hung Ha
I got an app built on top of App Engine. We got a User class and many other classes as well. When user loged in. How Google count the Instance hours when I do the following: User user=request.getParameter("user"); I also have public static variable to hold chat messages & that could be

[google-appengine] Re: Suddenly App Engine not Serving Anymore: Error code 123

2016-01-19 Thread Kaan Soral
Yes, manually slowing down the app almost diminishes these But I still see 40-50 of them every now and then On Wednesday, January 20, 2016 at 3:53:17 AM UTC+2, Michael Sander wrote: > > I've randomly started seeing these too. Did you do anything that worked? > > On Thursday, June 18, 2015 at

Re: [google-appengine] Geospatial/geolocation queries from GAE (or other Cloud products)?

2016-01-19 Thread Sandeep Dhameshia
How do I ask for an invite? I did not find any option. On Monday, January 11, 2016 at 1:15:24 AM UTC+5:30, Jeff Schnitzer wrote: > > The datastore now supports geospatial indexes directly: > > https://cloud.google.com/appengine/docs/java/datastore/geosearch > > It's alpha, you have to ask for an

[google-appengine] Handling user logins with AppEngine PHP and Datastore?

2016-01-19 Thread Alex Kerr
I'm building a site where I need to have a user log in with a username and password, and I'm running on AppEngine PHP with a Google Datastore database. Very straightforward, but just wondering if anyone can recommend any simple ways of handling user logins, please? Are there any good PHP

Re: [google-appengine] Re: Updates to managed VMs stopped working

2016-01-19 Thread Adam (Cloud Platform Support)
If it's local to the project, I'd start by checking the metadata for each project for discrepancies and also note the region you are using to create instances. Check the GCE quota details for limits as this also will affect your ability to create Managed VM instances. On Monday, January 18,