Re: [google-appengine] Re: Sync Google Cloud Storage to Instance Cluster

2018-09-02 Thread 'Dennis Yurkevich' via Google App Engine
Cloud storage being accessed by a Cloud VM is quite general in my view.

On Sun, Sep 2, 2018 at 5:26 PM, 'Katayoon (Cloud Platform Support)' via
Google App Engine  wrote:

> I should add that Google Groups are reserved for general product
> discussions. We cannot provide you any advice on your system’s
> architecture. If you have a Premium support package
> ,
> the architecture advisory service is available on best-effort basis or you
> may refer to the Google Cloud Partners .
>
>
> Furthermore, you can send your feature request via the Issue Tracker
>  if any so that the
> product team will evaluate your request.
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/cb9f302d-3a99-495e-aac9-
> 98a6e16c3c66%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B4W%2B9gvWYXPTEi%3DwwFU1VOQx2Y9r-p%2B%2BavXDi84vpDtNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Migation from standard datastore to Firebase native

2018-08-28 Thread 'Dennis Yurkevich' via Google App Engine
Thank you Jordan, but the question remains - if I activated Cloud Datastore
but have never used the APIs, can I shut it down and create a Firestore in
that same project?

On Fri, Aug 24, 2018 at 7:49 PM, 'Jordan (Cloud Platform Support)' via
Google App Engine  wrote:

> You can find all of the answers to your questions in the Automatic
> Upgrade to Cloud Firestore
>  documentation
> and provided video
> . As noted
> in blue on that page: "You cannot manually upgrade an existing Cloud
> Datastore database to Cloud Firestore in Datastore mode.". This will be
> done automatically for you once Firestore is out of Beta.
>
> - If you are looking to use native Cloud Firestore (by following the Get
> started with Cloud Firestore
>  steps), you are
> required to create a new project that does not have a Cloud Datastore
> created. This is because Cloud Datastore and native Cloud Firestore are not
> compatible, since Cloud Firestore is the next generation of Cloud
> Datastore. They therefore cannot exists together in the same project, and
> you can only use one or the other.
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/a73894f6-5039-405f-abb6-
> 0a1f90cbd75d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B5aZVvFucjzvafhvueyb9Nvyzt0D7zf-Y8oVEvfk%2B8mRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Sync Google Cloud Storage to Instance Cluster

2018-08-28 Thread 'Dennis Yurkevich' via Google App Engine
Hello Amit,

I am capable of locating the documentation myself. I was under the
impression that this mailing list is to discuss GAE as a product.

I have a use case which I do not feel is well satisfied by what is
available in the docs/product itself.

Dennis

On Mon, Aug 27, 2018 at 3:24 PM, 'Amit (Google Cloud Support)' via Google
App Engine  wrote:

> Hello Dennis,
>
> Yes, you are right. The Memcache service is not available for App Engine
> flexible environment at this moment. However, an alpha version will be
> available soon, you can fill-out the early access form here
> .
> Currently , you can use Redis Labs Memcache
> 
> , a third party fully managed service, to cache application data. This
> will allow you to use Memcached in order to achieve the persistence and
> in-memory replication of your data.
>
> Alternatively, you can use Node.JS Cloud Storage client library
> 
> to access your files on Cloud Storage.
>
> I hope that the provided will helps you to find a resolution for your
> issue.
>
>
> On Thursday, August 23, 2018 at 6:04:41 AM UTC-4, Dennis Yurkevich wrote:
>>
>> Hello Amit,
>>
>> Appreciate the reply, and thank you for the resource.
>>
>> However - my question is still open, at the very basic level I would like
>> to read an external data source and load an object to be available in
>> memory on all of my instances.
>>
>> I am using nodejs flexible and memcache is not available, or ideal as I
>> need the data to persist.
>>
>> Ideally I could maybe mount the google cloud bucket as a filesystem, and
>> run a CRON job / task to load any new files from that bucket into memory.
>>
>> Would be great if you can suggest an approach here.
>>
>> Best,
>> Dennis
>>
>>
>>
>> On Wed, Aug 22, 2018 at 9:34 PM, 'Amit (Google Cloud Support)' via Google
>> App Engine  wrote:
>>
>>> Hello Dennis,
>>>
>>> App Engine instances are computing units that App Engine uses to
>>> automatically scale the running application. Each instance has its own
>>> security layer to ensure that instances cannot unintentionally affect each
>>> other. In this similar standpoint, the files written to the file system on
>>> one instance will not be replicated across all other available instances.
>>> For more information about how instances are managed on App Engine, please
>>> go through this [1] article.
>>>
>>> I hope this answers your question.
>>>
>>> [1] https://cloud.google.com/appengine/docs/standard/python/how-
>>> instances-are-managed
>>>
>>>
>>> On Wednesday, August 22, 2018 at 4:37:31 AM UTC-4, Dennis Yurkevich
>>> wrote:

 Hello,

 If I write a cron job to fetch data from Cloud Storage and write it to
 the instance file system - will this be replicated across all of my
 instances?

 Thanks,
 Dennis

>>> --
>>> 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 google-appengine+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-appengine@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/google-appengine.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/google-appengine/d2c09cca-f7d5-4810-9b7e-d59e047c0cfd%
>>> 40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/19436222-7877-4a3e-867d-
> 0b5a2c573b02%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on

Re: [google-appengine] Re: Sync Google Cloud Storage to Instance Cluster

2018-08-24 Thread 'Dennis Yurkevich' via Google App Engine
This answer does not help much.

I am trying to understand what the mechanics are for adding data to memory
where the data originates from does not matter - I am able to see the
various google products available.

Why does pub/sub load data into both instances and cron job only into one?

On Fri, Aug 24, 2018 at 6:25 AM, Attila-Mihaly Balazs 
wrote:

> You can take a look at Google Datastore
>  or Google Cloud Storage
>  (perhaps with some Pub/Sub
>  thrown in to notify live
> instances that they need to load/reload their data).
>
> Attila
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/a3945ade-d570-49f1-b009-
> 91721732f7d6%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B6wP-8r11ofvKJHFbaQDj1boicMUoGkJnUViy-RFax0rA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Migation from standard datastore to Firebase native

2018-08-23 Thread 'Dennis Yurkevich' via Google App Engine
+1

When I try and access firestore - I am greeted by a message that datastore
is activated and therefore I should use that, however my project is not
using any datastore APIs.

On Thu, Aug 23, 2018 at 11:34 AM, Richard Cheesmar 
wrote:

>
> *"Migation from standard datastore to Firebase native" *
>
> Are there any docs on this topic?
>
> Thanks
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/71f4baea-11ca-45be-b4c0-
> 3d91788b5894%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B5agDW9cGEKKTJBNvirpf2gPSGKjt8AnsDyF3xyDt3%2BOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Sync Google Cloud Storage to Instance Cluster

2018-08-23 Thread 'Dennis Yurkevich' via Google App Engine
Hello Amit,

Appreciate the reply, and thank you for the resource.

However - my question is still open, at the very basic level I would like
to read an external data source and load an object to be available in
memory on all of my instances.

I am using nodejs flexible and memcache is not available, or ideal as I
need the data to persist.

Ideally I could maybe mount the google cloud bucket as a filesystem, and
run a CRON job / task to load any new files from that bucket into memory.

Would be great if you can suggest an approach here.

Best,
Dennis



On Wed, Aug 22, 2018 at 9:34 PM, 'Amit (Google Cloud Support)' via Google
App Engine  wrote:

> Hello Dennis,
>
> App Engine instances are computing units that App Engine uses to
> automatically scale the running application. Each instance has its own
> security layer to ensure that instances cannot unintentionally affect each
> other. In this similar standpoint, the files written to the file system on
> one instance will not be replicated across all other available instances.
> For more information about how instances are managed on App Engine, please
> go through this [1] article.
>
> I hope this answers your question.
>
> [1] https://cloud.google.com/appengine/docs/standard/
> python/how-instances-are-managed
>
>
> On Wednesday, August 22, 2018 at 4:37:31 AM UTC-4, Dennis Yurkevich wrote:
>>
>> Hello,
>>
>> If I write a cron job to fetch data from Cloud Storage and write it to
>> the instance file system - will this be replicated across all of my
>> instances?
>>
>> Thanks,
>> Dennis
>>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/d2c09cca-f7d5-4810-9b7e-
> d59e047c0cfd%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B6AfjBo6nRK1Fe%2Bh8Fhe4BrPpQBZkzHx8GiH_1UUnnNQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Sync Google Cloud Storage to Instance Cluster

2018-08-22 Thread 'Dennis Yurkevich' via Google App Engine
Hello,

If I write a cron job to fetch data from Cloud Storage and write it to the
instance file system - will this be replicated across all of my instances?

Thanks,
Dennis

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B4pzrq4MvwuXXu4PXkkktCYW7EmohWuBS9btcadrT1oWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Writing Files to Server

2018-08-20 Thread 'Dennis Yurkevich' via Google App Engine
Thank you Katayoon.

On Mon, 20 Aug 2018 at 18:27, 'Katayoon (Cloud Platform Support)' via
Google App Engine  wrote:

> My assumption is that you mean to update and read a hard-coded file in
> your app? If so, and if you have more than one instance of your app, there
> is no guarantee if you could fetch the same data (means your assumption is
> correct).
>
> Note that the cache
>  is
> global and is shared across the application's frontend, backend, and all of
> its services and versions. Session data
> 
> is a good candidates for caching, however values can expire from the
> memcache at any time.
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/b66c830b-395c-4e66-b0be-2dea4e3bca45%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B6WM4Gws2hdbhhmipVkdzP56UsFjjUky10bLqZm7D6mZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Writing Files to Server

2018-08-18 Thread 'Dennis Yurkevich' via Google App Engine
Thanks you Katayoon.

Just to confirm, if I write a file to my app, which is running on 2
instances using a POST requests to an express endpoint.

And in another request I try and fetch the same file - there is a 50%
chance that the file will be found as it will reside on a single instance?

re-memcache, you mention transient, so the data here is stored just for a
single user session?

On Fri, Aug 17, 2018 at 11:23 PM, 'Katayoon (Cloud Platform Support)' via
Google App Engine  wrote:

> Hi Dennis,
>
> Each request will be routed to an instance and the data will be
> transmitted/addressed via the request, however you may use memcache
>  which is a
> distributed RAM cache in which you can store transient data using a
> key-value model. For storing resident data, you may choose a storage
> option  based on your
> use-case.
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/9414102a-3e0f-4366-a208-
> 079377d19e1b%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B50X%3D9CBMv_N-Z9FkrFsPcmBwcp%3DqqBCdL_ejhLfcB5Xg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Writing Files to Server

2018-08-17 Thread 'Dennis Yurkevich' via Google App Engine
Hello,

How does the scaling and distributed system work, for example if my server
has and endpoint which I can hit to write a file with the data sent to it,
my app is running on 2 instances, so my assumption is that the request hits
just one instance and the file exists only on one?

Thanks!

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B56aoORM69mx4OVgo9ugFRLvO4Y4-ShkN%2B1pU88JZbY4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Using Process Managers

2018-07-27 Thread 'Dennis Yurkevich' via Google App Engine
Thanks Kenworth so does the default docker context of GAE set any of these.

The default for docker is NO restart, which looking at my logs does not
match as I can see the process restart on error. Not sure what is
triggering this...

On Fri, 27 Jul 2018 at 17:58, 'Kenworth (Google Cloud Platform)' via Google
App Engine  wrote:

>
>> So GAE env itself or the Docker env provides nothing of this sort?
>>
>
> Not on GAE. For Docker, you can try look at restart policies
>  
> and
> see if it fits your use-case.
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/5147a8c8-622c-42ed-b575-5ba7d96826bb%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B4StaDKSYBi60XjyGhmJ7V7_g2ngocGsUPRVCqcWntJZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Using Process Managers

2018-07-26 Thread 'Dennis Yurkevich' via Google App Engine
Thank you Julie and Kenworth.

I will add one and measure the overhead.

However from my testing it seems GAE keeps the app running. Not sure if
there is anything which does that or the code is awesome 😎

Thank you for your help!
Dennis

On Thu, 26 Jul 2018 at 21:15, 'Julie (cloud platform support)' via Google
App Engine  wrote:

> The decision on whether or not to include a process manager really depends
> on your application and if it is critical that it avoids/minimizes
> downtime. As mentioned by Kenworth, including one would likely improve user
> experience but may increase resource usage and therefore cost.
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/a7aba032-962d-4f8b-9ae0-d163c2203491%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B6ONjxbuCkdG3bD0c9SPcOG3mXGWFU17qj3rrim2dtcFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Using Process Managers

2018-07-25 Thread 'Dennis Yurkevich' via Google App Engine
A process manager is something which at the very basic level restarts the
app if it crashes - most popular for node is http://pm2.keymetrics.io/

@Julie, if you feel it is needed I would install PM2 and use it to start
the server script instead of using node.

On Wed, Jul 25, 2018 at 2:20 PM, gnome rock 
wrote:

> Excuse me, What is Process Manager ?
> I never used it.
>
>
> On 25 Jul BE 2561, at 20:15, 'Julie (cloud platform support)' via Google
> App Engine  wrote:
>
> How you are planning to use the Process Manager? I can check to see if
> that functionality is supported.
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/0cd76932-9ab8-4ebf-ac0c-
> 3f3d1b2f3c19%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/1DC0BDF2-16AE-4622-832A-3D38597675D4%40gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B4JXSmzoL5Sg00PtihUfZ0BHVPUn-jOhB41kY%2BwK%3D9onw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Stability problems on GAE standard Node.js app - no apparent clues in the logs

2018-07-23 Thread 'Dennis Yurkevich' via Google App Engine
Hello Richard,

I am sorry I am not able to help with your question and likely you may be
asked to post this on SO.

However interested to hear why you are moving from Flex to Standard.

Thanks
D

On Mon, 23 Jul 2018 at 14:00, Richard Marr  wrote:

>
> Hi,
>
> I'm hoping someone can shed a little light or give me some pointers on
> this...
>
> We're trying to migrate our Node.js app to GAE Standard (after a year or
> so on GAE Flexible) and are having problems.
>
> The app deploys without any apparent error, but when we try to visit the
> app the web browser just spins and spins and eventually returns a 502 error.
>
> Looking at the logs, the app starts to boot but then fails silently, with
> no errors logged, seemingly at an arbitrary point during boot... it doesn't
> seem to be consistent... sometimes it gets all the way to serving the first
> HTTP request correctly but then dies immediately afterwards.
>
> Any suggestions appreciated.
>
> Rich
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/8c2f6a39-0022-40d3-af35-505e0ee6f94a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B5Na3N2Gms_NOU%2B-xNm4RGNjxpuciK6wzSkgb%2BN%2BJFKuA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Using Process Managers

2018-07-19 Thread 'Dennis Yurkevich' via Google App Engine
Thanks Kenworth.

So GAE env itself or the Docker env provides nothing of this sort?

On Thu, Jul 19, 2018 at 5:32 PM, 'Kenworth (Google Cloud Platform)' via
Google App Engine  wrote:

> It comes down to preference. It always makes sense to have a process
> manager running in Node.js production. It would be a better user experience
> to have an application restart after being down for example. Note that having
> a process manager will impact resources / performance.  However, if you
> have mission critical apps, then it would be worth the performance hit to
> have a PM running.
>
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/28b57b11-fec9-48b3-a9bc-
> fa95bb7de91d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B6HuBybHP_G6eAChfVU2rWOVtrFyEe%3DWDwtWTo1k%3DXcoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Using Process Managers

2018-07-19 Thread 'Dennis Yurkevich' via Google App Engine
Hello All!

When deploying apps using GAE - is a process manager needed?

Right now I am using the Nodejs Flexible environment, and in my npm run
start command -> simply running node app.js

The application seems to be live most of the time, but not sure on what the
best practice is. When I was using Compute engine I also used PM2.

If the answer is that no process manager is needed it would be great to
understand why also!

Any help would be great.

Thanks!

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B5K%3DXkZbxo1WwKDAUR5UYgN4KcE6WnXxC5jrRirnSg%2Bvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Using VS Code in the Cloud!

2018-07-18 Thread 'Dennis Yurkevich' via Google App Engine
Why do you mean by fire it up, deploy the app?

Yes this could work, but then it raises the question of why are Google
making the online editor? It’s very far away from modern editors.

On Wed, 18 Jul 2018 at 23:38, 'Katayoon (Cloud Platform Support)' via
Google App Engine  wrote:

> The easiest way could be doing coding in your local Visual Studio Code and
> then fire it up by gcloud commands via the Command Line Interface. Hope
> this works for you?
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/f9020f82-b125-4459-9432-0f821ad09443%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B5Qq5SGcejSeXUoXtHAEtSqOQ805Od3efk12Mo0zZ4cbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Using VS Code in the Cloud!

2018-07-17 Thread 'Dennis Yurkevich' via Google App Engine
Thank you Katayoon.

However I was thinking there could be a third party system to do this?

Is it possible to virtually mount the file system to my local machine?

Or some other option users have invented?

On Wed, 18 Jul 2018 at 03:27, 'Katayoon (Cloud Platform Support)' via
Google App Engine  wrote:

> I should note that we only support Google Cloud Tools for Visual Studio on
> Windows at the moment. So you may raise a feature request via the Issue
> Tracker  so that
> the Cloud Tools product team may evaluate it, however there is no ETA or
> guarantee of implementation.
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/4bd2003b-c72f-4033-8377-3bcafc3705cc%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B4HptJe2qnuqKeA2_7n9Kg9bnMuJtzo2LG-v_XNXVb2WA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Using VS Code in the Cloud!

2018-07-16 Thread 'Dennis Yurkevich' via Google App Engine
Thank you Katayoon. But I am developing Nodejs apps and not on Windows.

On Mon, 16 Jul 2018 at 22:14, 'Katayoon (Cloud Platform Support)' via
Google App Engine  wrote:

> Hi Dennis,
>
> You may use Cloud Tools for Visual Studio
>  which is a powerful environment
> to build Windows and .NET applications and deploy them to Cloud Platform
> directly from your favorite IDE. You may also follow this Quickstart
>  or this one
> 
> showing you how to configure Microsoft Visual Studio and create and deploy
> a .NET application on Google Cloud Platform.
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/ecd7f462-4acb-479e-bbf1-9d4270a210c5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B4cN28LkYiHK3Fb_%2BykiYGYJJd-nr_R-U10iJEKUF_n9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Using VS Code in the Cloud!

2018-07-16 Thread 'Dennis Yurkevich' via Google App Engine
Hello All,

I love the ease of the in browser editor which GAE provides, but the Editor
itself is very poor and does not offer the pleasent and flexible
environment which VS code or similar does.

Is there a way to connect my VS code editor directly to the GAE provisioned
editor / shell?

Thanks!
D

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B63j0frJ6D0Q_DhSwW_B3pZf28UhoC0mP5%2B5h4q7GPisw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Static File Hosting - Performance & Logging

2018-07-15 Thread 'Dennis Yurkevich' via Google App Engine
Hello Yasser,

Today I am serving static files using Express and without having specified
the handlers in app.yaml.



On Sat, Jul 14, 2018 at 12:31 AM, 'Yasser Karout (Cloud Platform Support)'
via Google App Engine  wrote:

> Just for clarity, to serve static files using express.static(), you still
> need to specify the static URL handlers in your app.yaml file. So the first
> and second method you listed are the same method.
>
>
> On Wednesday, July 11, 2018 at 4:55:57 AM UTC-4, Dennis Yurkevich wrote:
>>
>> Hello All,
>>
>> When using the various static file hosting options on GAE Nodejs Flex
>> Environment, I see the below three as the main options:
>> 1. have the app serve on a route e.g app.use(express.static())
>> 2. use the app.yaml config
>> 3. use google bucket / cdn
>>
>> My first question is which should be most performant? I am serving a
>> 400kb SPA bundle.
>>
>> Second, I need some flexibility which I am using the routing for, such as
>> deciding which bundle to serve based on geo, reading the cookie header and
>> logging. Would these things be possible with option 2 & 3?
>>
>> My final question, is that the app.yaml option is this just using nginx
>> to serve behind the scenes?
>>
>> Thanks,
>> Dennis
>>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/0465fce3-fd28-447b-a371-
> 43898c49130d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B42c358wOGf1JnPUyw5d3gu2T_P3k_M9c3RJHYv5S7z4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Static File Hosting - Performance & Logging

2018-07-11 Thread 'Dennis Yurkevich' via Google App Engine
Hello All,

When using the various static file hosting options on GAE Nodejs Flex
Environment, I see the below three as the main options:
1. have the app serve on a route e.g app.use(express.static())
2. use the app.yaml config
3. use google bucket / cdn

My first question is which should be most performant? I am serving a 400kb
SPA bundle.

Second, I need some flexibility which I am using the routing for, such as
deciding which bundle to serve based on geo, reading the cookie header and
logging. Would these things be possible with option 2 & 3?

My final question, is that the app.yaml option is this just using nginx to
serve behind the scenes?

Thanks,
Dennis

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B5MxWdAwVLNt6q%2B2y0SBAEeDdztFvN%2B50yPmxoOCM02%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Flex vs Standard - Feature Comparison

2018-07-04 Thread 'Dennis Yurkevich' via Google App Engine
Hello All,

Is there a detailed doc which shows the comparison of Flex vs Standard?

I am not far into my GAE journey and have opted for flex, but reading some
of the threads in this group I feel that quite a few nice features are
lost. It would be great to get the full picture.

I am specifically interested in Nodejs

Best,
Dennis

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B6heTdb713V6_oe%3DhxFdtwr2kiz6gYVB5DqEamnjCva7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Serving Static Files, Issue with Content Security Policy

2018-06-28 Thread 'Dennis Yurkevich' via Google App Engine
Hello Kenworth,

I do not think the solution is a good one. It is a workaround.

At the very least we need to have documentation explaining any additional
headers being set in the dev environment.

In an ideal scenario they should not be there.


On Wed, 27 Jun 2018 at 23:15, 'Kenworth (Google Cloud Platform)' via Google
App Engine  wrote:

> It seems you also rightfully posted this issue to StackOverflow
> 
> on tags we monitor, and provided your solution. For users experiencing the
> same issue, please follow the thread below:
>
>
> https://stackoverflow.com/questions/51040045/google-app-engine-content-security-policy-issues
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/ed29efca-2ee5-4a8c-a33c-90036701542f%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANamN%2B59sJUuBreOKw0u0P5YtGPWqL75hZEkwbayk-Qmt8D8rA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Serving Static Files, Issue with Content Security Policy

2018-06-26 Thread 'Dennis Yurkevich' via Google App Engine
Hello All,

I am serving static files from my app (for now) using express.

When app engine sends the response it attaches the following header:

content-security-policy: default-src 'self' frame-ancestors 'self' 
https://console.cloud.google.com https://*.corp.google.com:* 
http://*.corp.google.com:*


Which causes the following error:

The Content Security Policy directive 'default-src' contains 'frame-ancestors' 
as a source expression. Did you mean 'default-src ...; frame-ancestors...' 
(note the semicolon)?


I have no idea on how to amend this header unless I start playing with the 
Nginx config, which means I am may as well revert to using compute engine.

Can anyone provide any ideas on how I can solve this?

Stack: node, express, webpack4, vuejs.


-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c9f9405d-53a8-41d3-bebb-28e36e0e8287%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.