[google-appengine] High network latency, but logs should sub milisecond response time?

2018-10-01 Thread Ryan Sacha
I can't figure out why when i curl to my service the response fluctuates from a minimum of 400ms upto 1 second and beyond for a simple request that literally just returns a json response. (no db calls, or anything) even static files take >400ms. In fact i went to the logs and indeed the server

[google-appengine] Route app engine's subdirectory to a wordpress VM?

2018-08-28 Thread Ryan Sacha
I have a Node JS appengine app. but i want to route anything /blog/* to a separate wordpress VM created through the cloud launcher. it's not an appengine service, just a compute engine VM. How can I do this? Current app.yaml: runtime: nodejs env: flex manual_scaling: instances: 1 resour

[google-appengine] Re: Postinstall script not receiving env_variables

2018-08-16 Thread Ryan Sacha
sday, August 16, 2018 at 4:23:33 PM UTC+1, Ryan Sacha wrote: > > I have an issue with a node js app engine project, where the main > script/server.js receives the environment variables just fine. but the > "postinstall" doesn't. > > { > "name": "c

[google-appengine] Postinstall script not receiving env_variables

2018-08-16 Thread Ryan Sacha
I have an issue with a node js app engine project, where the main script/server.js receives the environment variables just fine. but the "postinstall" doesn't. { "name": "citation-generator", "version": "4.1.0", "main": "server.js", "scripts": { "start": "node server.js", "postin

[google-appengine] Can app engine host a Node JS worker?

2018-06-29 Thread Ryan Sacha
I came across the recent launch of Node JS serverless option on google app engine. My question is, would it be safe to host a Node JS worker app (like Kue or Bull) without app engine killing a running job midway to conserve server cost? I'm wary of Cloud functions because they seem to be for l