[google-appengine] Re: Cloud NDB Datastore library Beta

2019-09-26 Thread 'Mario Jimenez Leon' via Google App Engine
This is great news! The library is gonna be supported by GCP support until the beta phase ends. You can track the changes in the changelog of the library in github: https://github.com/googleapis/python-ndb/blob/master/CHANGELOG.md Currently, we don't have an Estimated Time of Arrival

[google-appengine] Re: dev_appserver now compatible with Cloud Datastore Emulator.

2019-09-26 Thread 'Jose Antonio Soni Solchaga' via Google App Engine
Hello Alessandro, The error message you are experiencing is because of wrong authentication. Here you can see a Stack Overflow question where this was answered.

[google-appengine] Re: How to export more than 50 Kinds from Google Cloud Datastore into the same Cloud Storage Bucket?

2019-09-26 Thread 'Jose Antonio Soni Solchaga' via Google App Engine
It has two limits, its up to 50 concurrent exports and outputs and to initialize up to 20 per minute. It depends totally on the time they take to get exported, if the chunks are small and they get exported fast then you might get close to the limit per minute so i would suggest you to control

[google-appengine] Re: How do min_instance and min_idle_instance affect app engine autoscaling?

2019-09-26 Thread 'Jose Antonio Soni Solchaga' via Google App Engine
Hello, I see that image 2 explains it better as it is clear the instances that were just added and the instances that just got traffic. As an improvement I would add the description in the top part for the red ones that they are active, and give enough space for the text not to be in two

[google-appengine] Re: Porting a Django+Apache app in GAP - Where to set Redirect 301 that now are in httpd.conf Apache file?

2019-09-26 Thread 'Yasser Karout' via Google App Engine
Hello, For App Engine, the webserver is usually setup for you depending on what runtime you use, so you would not need Apache for Python. You can setup redirects within your code, I found this guide with a sample that might be helpful to you [1]. If you want to port your application as is, it

[google-appengine] Re: Gcloud app engine for cloud storage

2019-09-26 Thread 'George (Cloud Platform Support)' via Google App Engine
As PHP scripts run relative to the current path, not to the path of script itself, you can use __DIR__ to change this behavior, so that include refers to the script's own path, as a result. StorageClient not found error is likely due to the absence of Cloud Storage Client Libraries

[google-appengine] Re: Using app engine for a SAAS with custom domains and SSL

2019-09-26 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Tom, The process of registering a custom domain for your appspot.com site is fraught with delays that would cause your described automatic procedure to fail. You may gather related detail on the "Mapping Custom Domains" documentation page

[google-appengine] Re: Using autoload.php

2019-09-26 Thread 'George (Cloud Platform Support)' via Google App Engine
As PHP scripts run relative to the current path, not to the path of script itself, you can use __DIR__ to change this behavior, so that include refers to the script's own path, as a result. StorageClient not found error is likely due to the absence of Cloud Storage Client Libraries

Re: [google-appengine] Using autoload php

2019-09-26 Thread Mua Rachmann
You will need to import it in the file, smart IDE's like phpstorm, vscode can do that once you start typing. Also ensure you have the dependency in your composer.json file "google/cloud-storage" or other libraries that have the storage cloud stuff. Hope it helps. Mua On Thu, Sep 26, 2019 at

[google-appengine] Re: Why TTFB on Google Cloud Run/App depends significantly on domain?

2019-09-26 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Andy, > > There are architectural reasons for increased TTFB in some regions. Where do you run your services, in which regions? This is a known issue, and Developers are actively working towards a fix. -- You received this message because you are subscribed to the Google Groups

Re: [google-appengine] html fetching with Python on appspot

2019-09-26 Thread rahul kumar
Sleep() function actually suspends the processing of the thread in which it is called by the operating system, allowing other threads and processes to execute while it sleeps. With multiple threads and processes, sleep() suspends your thread -

[google-appengine] Re: dev_appserver now compatible with Cloud Datastore Emulator.

2019-09-26 Thread Alessandro Bollini
On Friday, 25 May 2018 20:34:53 UTC+2, Kamran (Google Cloud Support) wrote: > > Hello Yuri, > > *dev_appserver.py* is a command to start the local development server for > Python, PHP and Go. If you want to use local Datastore emulator feature for > Java, for instructions visit this article >

[google-appengine] Gcloud app engine for cloud storage

2019-09-26 Thread sampath rathnayake
Hi All, I'm new to app engine and trying create a app from a sample code. Can anyone please tell me what is the use of require '/vendor/autoload.php'; Is this set of libraries we need to download? I'm developing/test locally and deploying in to gcloud project using 'gcloud app deploy' I

[google-appengine] Using autoload php

2019-09-26 Thread sampath rathnayake
Hi All, I'm new to app engine and trying create a app from a sample code. Can anyone please tell me what is the use of require_once __DIR__ . '/vendor/autoload.php'; Is this set of libraries we need to download? I'm developing/test locally and deploying in to gcloud project using 'gcloud app

[google-appengine] Re: dev_appserver now compatible with Cloud Datastore Emulator.

2019-09-26 Thread Alessandro Bollini
On Friday, 25 May 2018 20:34:53 UTC+2, Kamran (Google Cloud Support) wrote: > > Hello Yuri, > > *dev_appserver.py* is a command to start the local development server for > Python, PHP and Go. If you want to use local Datastore emulator feature for > Java, for instructions visit this article >

[google-appengine] Re: dev_appserver now compatible with Cloud Datastore Emulator.

2019-09-26 Thread Alessandro Bollini
On Friday, 25 May 2018 20:34:53 UTC+2, Kamran (Google Cloud Support) wrote: > > Hello Yuri, > > *dev_appserver.py* is a command to start the local development server for > Python, PHP and Go. If you want to use local Datastore emulator feature for > Java, for instructions visit this article >

[google-appengine] Gcloud app engine for cloud storage

2019-09-26 Thread sampath rathnayake
Hi All, I'm new to app engine and trying create a app from a sample code. Can anyone please tell me what is the use of require_once __DIR__ . '/vendor/autoload.php'; Is this set of libraries we need to download? I'm developing/test locally and deploying in to gcloud project using 'gcloud app

Re: [google-appengine] html fetching with Python on appspot

2019-09-26 Thread rahul kumar
Sleep() function actually suspends the processing of the thread in which it is called by the operating system, allowing other threads and processes to execute while it sleeps. With multiple threads and processes, sleep() suspends your thread -

[google-appengine] Re: dev_appserver now compatible with Cloud Datastore Emulator.

2019-09-26 Thread Alessandro Bollini
On Friday, 25 May 2018 20:34:53 UTC+2, Kamran (Google Cloud Support) wrote: > > Hello Yuri, > > *dev_appserver.py* is a command to start the local development server for > Python, PHP and Go. If you want to use local Datastore emulator feature for > Java, for instructions visit this article >

[google-appengine] Gcloud app engine for cloud storage

2019-09-26 Thread sampath rathnayake
Hi All, I'm new to app engine and trying create a app from a sample code. Can anyone please tell me what is the use of require '/vendor/autoload.php'; Is this set of libraries we need to download? I'm developing/test locally and deploying in to gcloud project using 'gcloud app deploy' I

[google-appengine] Using autoload.php

2019-09-26 Thread sampath rathnayake
Hi All, I'm new to app engine and trying create a app from a sample code. Can anyone please tell me what is the use of require_once __DIR__ . '/vendor/autoload.php'; Is this set of libraries we need to download? I'm developing/test locally and deploying in to gcloud project using 'gcloud app

[google-appengine] Using autoload.php

2019-09-26 Thread sampath rathnayake
Hi All, I'm new to app engine and trying create a app from a sample code. Can anyone please tell me what is the use of require_once __DIR__ . '/vendor/autoload.php'; Is this set of libraries we need to download? I'm developing/test locally and deploying in to gcloud project using 'gcloud app

Re: [google-appengine] html fetching with Python on appspot

2019-09-26 Thread rahul kumar
Sleep() function actually suspends the processing of the thread in which it is called by the operating system, allowing other threads and processes to execute while it sleeps. With multiple threads and processes, sleep() suspends your thread -

[google-appengine] Using autoload php

2019-09-26 Thread sampath rathnayake
Hi All, I'm new to app engine and trying create a app from a sample code. Can anyone please tell me what is the use of require_once __DIR__ . '/vendor/autoload.php'; Is this set of libraries we need to download? I'm developing/test locally and deploying in to gcloud project using 'gcloud app

[google-appengine] Re: dev_appserver now compatible with Cloud Datastore Emulator.

2019-09-26 Thread Alessandro Bollini
On Friday, 25 May 2018 20:34:53 UTC+2, Kamran (Google Cloud Support) wrote: > > Hello Yuri, > > *dev_appserver.py* is a command to start the local development server for > Python, PHP and Go. If you want to use local Datastore emulator feature for > Java, for instructions visit this article >

[google-appengine] Re: Cloud NDB Datastore library Beta

2019-09-26 Thread Soeren Balko
Great news and good to see Google (finally!) reacting to the Python 2 EOL dilemma and its repercussions on AppEngine! A couple of question though: (1) "beta" is not very reassuring in a sense that we have millions of users in our AppEngine/DataStore backend. When will the library come out of