Re: [google-appengine] Best Practices for Search API?

2017-06-09 Thread Emlyn
I've noticed the same thing Jeff, it's really brilliant. But what I'd like
to put into it is a pretty dense time series of real time events; it's
really difficult to put a sensible upper bound on how big that might get.

On 10 Jun. 2017 8:10 am, "Jeff Schnitzer"  wrote:

The search index is incredibly efficient. I had some data I was indexing in
the datastore, and the index was consuming 100GB+. When I moved it to the
Search API, the index consumed a few GB. Afterwards I felt silly for asking
for the quota raise in advance.

YMMV, of course.

Not a direct answer to your question but something to keep in mind. I was
surprised by how small the index is.

Jeff

On Thu, Jun 8, 2017 at 11:34 PM, Emlyn  wrote:

> I've just noticed that the old 10GB limit on search indices can be raised
> on request to 200GB max, on an index by index basis.
>
> I've got a use case where I'd ideally like search indices to be unbounded,
> but 200GB will go a long way. Is there any penalty associated with this,
> though? Do the indices perform worse as they get larger? Does anyone know
> why there is a limit at all?
>
> --
> Emlyn
>
> http://point7.wordpress.com - My blog
> https://plus.google.com/u/0/100281903174934656260 - Google+
>
> --
> 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/CAMp1VPBcfZZUT14s3v7mxCoPy33Yryv3T2OaxP
> g_kvX4-aUm3w%40mail.gmail.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/CADK-0uhbRNHBDpj5%2BspLM0rp_-o5Ga_
fsAVXTSjQt1qYGNMCJQ%40mail.gmail.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/CAMp1VPAyf9BkjzR_f80ReRW6NAWw6oadSDsCOw1i5%2BMPNaGzFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Best Practices for Search API?

2017-06-09 Thread Nickolas Daskalou
Jeff, were you storing docs in the Search API somewhat intelligently, e.g.
using short field names, "0" instead of "false" for boolean values etc., or
you just sent documents to the Search API without much thought and it was
still efficiently storing them?

Nick
On 10/06/2017 8:40 AM, "Jeff Schnitzer"  wrote:

> The search index is incredibly efficient. I had some data I was indexing
> in the datastore, and the index was consuming 100GB+. When I moved it to
> the Search API, the index consumed a few GB. Afterwards I felt silly for
> asking for the quota raise in advance.
>
> YMMV, of course.
>
> Not a direct answer to your question but something to keep in mind. I was
> surprised by how small the index is.
>
> Jeff
>
> On Thu, Jun 8, 2017 at 11:34 PM, Emlyn  wrote:
>
>> I've just noticed that the old 10GB limit on search indices can be raised
>> on request to 200GB max, on an index by index basis.
>>
>> I've got a use case where I'd ideally like search indices to be
>> unbounded, but 200GB will go a long way. Is there any penalty associated
>> with this, though? Do the indices perform worse as they get larger? Does
>> anyone know why there is a limit at all?
>>
>> --
>> Emlyn
>>
>> http://point7.wordpress.com - My blog
>> https://plus.google.com/u/0/100281903174934656260 - Google+
>>
>> --
>> 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/CAMp1VPBcfZZUT14s3v7mxCoPy33Yryv3T2OaxP
>> g_kvX4-aUm3w%40mail.gmail.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/CADK-0uhbRNHBDpj5%2BspLM0rp_-o5Ga_
> fsAVXTSjQt1qYGNMCJQ%40mail.gmail.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/CAOj3zuDkQLAE%2BV5H1WWXxu4hj-MWNpddNiShC7R8YkWE5fug9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Best Practices for Search API?

2017-06-09 Thread Jeff Schnitzer
The search index is incredibly efficient. I had some data I was indexing in
the datastore, and the index was consuming 100GB+. When I moved it to the
Search API, the index consumed a few GB. Afterwards I felt silly for asking
for the quota raise in advance.

YMMV, of course.

Not a direct answer to your question but something to keep in mind. I was
surprised by how small the index is.

Jeff

On Thu, Jun 8, 2017 at 11:34 PM, Emlyn  wrote:

> I've just noticed that the old 10GB limit on search indices can be raised
> on request to 200GB max, on an index by index basis.
>
> I've got a use case where I'd ideally like search indices to be unbounded,
> but 200GB will go a long way. Is there any penalty associated with this,
> though? Do the indices perform worse as they get larger? Does anyone know
> why there is a limit at all?
>
> --
> Emlyn
>
> http://point7.wordpress.com - My blog
> https://plus.google.com/u/0/100281903174934656260 - Google+
>
> --
> 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/CAMp1VPBcfZZUT14s3v7mxCoPy33Yr
> yv3T2OaxPg_kvX4-aUm3w%40mail.gmail.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/CADK-0uhbRNHBDpj5%2BspLM0rp_-o5Ga_fsAVXTSjQt1qYGNMCJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cloud Datastore tutorial fails with exception

2017-06-09 Thread 'Yannick (Cloud Platform Support)' via Google App Engine
Hello Jay-Nicolas, thank you very much for the detailed answer. I did 
manage to replicate your issue when using the local dev server on a Windows 
10 VM. The code does otherwise work on App Engine and when ran directly 
using a regular php installation.

I did also have to deal with the "No CA Bundle" error and I agree that our 
documentation isn't perfect but we are always striving to improve it.

Since I've already reproduced the issue I've gone ahead and created an 
issue for you on the Issue Tracker 
. It has been forwarded to the 
product team and I future updates for this issue will be posted there.

On Wednesday, June 7, 2017 at 3:20:12 PM UTC-4, Jay-Nicolas Hackleman wrote:
>
> Hi Yannick,
> I'm posting my resolution here for people with the same issue.
> Basically what it comes down to is that this issue occurs on windows 
> running dev_appserver and attempting to test your application locally. I 
> would be curious to know if you could reproduce it knowing that, as it 
> seems I'm not alone.
>
> I found someone reporting the issue to Guzzle here: 
> https://github.com/guzzle/guzzle/issues/1640
> and reported (in conjunction with another issue) to the google issue 
> tracker here: https://issuetracker.google.com/issues/35900358
>
> The resolution was to modify Guzzle code (which I'm really not happy about 
> having to do) to support googles implementation of php in the dev 
> environment.
>
> I changed the file: 
>
> \vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php
> line 370
>
>
> At this statement:
>
> $conf[CURLOPT_FILE] = fopen('php://temp', 'w+');
>
> And added BELOW it:
>
> //JAY_NIC_CHANGE: GUZZLE_GOOGLE_WINDOWS_CURL_IMPLEMENTATION
> if(isset($_SERVER['SERVER_SOFTWARE']) 
> && 0 === strpos($_SERVER['SERVER_SOFTWARE'], 'Development/')) {
> //echo "HEY HEREI AM";
> $conf[CURLOPT_FILE] = fopen(getenv('temp').uniqid(), 'w+');
> }
>
>
>
> Of course, modifying a dependency's code is a no-no... But I'm not really 
> sure what else I'm supposed to do...
>
>
> In addition to this issue, I first had to overcome the same set of errors 
> that this guy encountered (linked previously): 
> https://issuetracker.google.com/issues/35900358
> It seems that the certificate error: 
> "*No system CA bundle could be found in any of the the common system 
> locations. PHP versions earlier than 5.6 are not properly configured to use 
> the system's CA bundle by default. In order to verify peer certificates, 
> you will need to supply the path on disk to a certificate bundle to the 
> 'verify' request option*"
> - was ALSO plaguing this implementation. Again, I'd love to know if you 
> follow those steps on a windows machine and attempt to test in the dev 
> environment: if you'd get the same results. I suspect so.
>
> On a personal note: this is not the first time, (and I suspect not the 
> last time) that the tutorials I've followed in the app engine just haven't 
> worked, or have otherwise been vague, or incomplete. Being that I have 
> deliverables to work with: I need to get this project done. But once it's 
> working, I'm going to be moving the project over to heroku - I've followed 
> all their tutorials, and things just work, no problems.
>
>
> I hope this helps other people
>
> On Monday, June 5, 2017 at 1:39:21 PM UTC-7, Yannick (Cloud Platform 
> Support) wrote:
>>
>> Hello Jay-Nicolas. I have not been able to reproduce your issue when 
>> testing this code sample, so there might be something wrong with your 
>> environment. You can also go here 
>>  
>> to report an issue for this code sample. You could also try following the 
>> instructions from this tutorial 
>> .
>>
>> On Sunday, June 4, 2017 at 4:59:43 PM UTC-4, Jay-Nicolas Hackleman wrote:
>>>
>>> Hi,
>>>
>>> I've followed this tutorial: 
>>> https://cloud.google.com/datastore/docs/reference/libraries#client-libraries-usage-php
>>>
>>> I'm attempting to run the code in the local dev_appserver, but I get the 
>>> following exception:
>>>
>>>
>>> *Fatal error*: Uncaught exception 
>>> 'Google\Cloud\Core\Exception\ServiceException' with message 
>>> 'curl_setopt_array(): cannot represent a stream of type MEMORY as a STDIO 
>>> FILE*' in 
>>> K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-core\RequestWrapper.php:241
>>>  
>>> Stack trace: #0 
>>> K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-core\RequestWrapper.php(150):
>>>  
>>> Google\Cloud\Core\RequestWrapper->convertToGoogleException(Object(Google\Cloud\Core\Exception\ServiceException))
>>>  
>>> #1 
>>> K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-core\RestTrait.php(86):
>>>  
>>> Google\Cloud\Core\RequestWrapper->send(Object(GuzzleHttp\Psr7\Request), 
>>> Array) #2 
>>> K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-datastore\Connection\Rest.php(81):
>>>  
>>> 

[google-appengine] Re: How do I deploy C# projects from my own system via the terminal?

2017-06-09 Thread Neo42

I finally deployed my app!... it has some bugs with the cloud datastore 
stuff, but at least I can publish now. 



On Friday, June 9, 2017 at 4:18:53 PM UTC-4, Neo42 wrote:
>
> ok.
>
> I did a search on my computer for deps.json and it showed up in the build 
> directories.  From where I was running the command, it looked familiar. 
>  So...
>
> I'm running deploy again after moving my App.yaml file to that subdirectory
>
> gcloud beta app deploy ./bin/Release/netcoreapp1.1/publish/app.yaml
>
>
> Note.  It's netcoreapp*1.1* instead of *1.0*.  
>
> I'll let you know how it goes.  I'm running off a hotspot at the moment, 
> so, this part takes forever.  
>
> ...
>
> It's already farther than my other attempts.  Looking like it might be 
> good.  I'll post back here again later.
>
>
> On Friday, June 9, 2017 at 3:20:07 PM UTC-4, Neo42 wrote:
>>
>> Step #0: No .deps.json file found for the app
>> Finished Step #0
>> ERROR
>>
>>
>> What is a deps.json?  Do I need a project.json file, like the sample?  How 
>> do I configure it?
>>
>>
>>
>> Found build history.  And the log I guess.
>>
>> I found it via this.  As you run the deploy it says this:
>>
>> WARNING: Checking the status of the Appengine Flexible Environment API 
>> during Appengine Flexible deployments is currently in beta.
>>
>> Beginning deployment of service [default]...
>>
>> Building and pushing image for service [default]
>>
>> Started cloud build [some_number].
>>
>> To see logs in the Cloud Console: 
>>
>>
>>
>> On Friday, June 9, 2017 at 2:42:39 PM UTC-4, Neo42 wrote:
>>>
>>> Also.  Let me see if I'm right in saying this:
>>>
>>> Install google cloud sdk.  Done.
>>>
>>> After building my aspnetcore app in visual studio, the primary steps 
>>> needed afterwards are:
>>>
>>> create an app.yaml file and place it in the same directory as the CSProj 
>>> file.  The contents of the app.yaml file are:
>>> runtime: aspnetcore
>>> env: flex
>>>
>>> run the following commands via terminal while in the same directory as 
>>> the CSproj file and the App.yaml file
>>>
>>> gcloud app create
>>> dotnet restore
>>>
>>> dotnet publish -c Release
>>> gcloud beta app deploy app.yaml 
>>>
>>>
>>> How important is the following line?  I'm not sure I ran it.
>>> gcloud app create
>>>
>>>
>>> I'm getting a error upon trying to deploy my app, but I don't know how 
>>> to check the logs as it suggests.  ERROR: (gcloud.beta.app.deploy) 
>>> Error Response: [2] Build failed; check build logs for details
>>>
>>>
>>>
>>> On Friday, June 9, 2017 at 1:49:22 PM UTC-4, Jordan (Cloud Platform 
>>> Support) wrote:

 You can deploy any custom runtime 
  
 to the App Engine Flexible environment using a Dockerfile. It is 
 recommended that you first start with the provided Quickstart Guide  
 to 
 running a C# project on App Engine. Once you have a working project, you 
 can then add in your own C# application code.  

>>>

-- 
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/b8dca138-19e4-466c-8295-d8d716f9b361%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How do I deploy C# projects from my own system via the terminal?

2017-06-09 Thread Neo42
ok.

I did a search on my computer for deps.json and it showed up in the build 
directories.  From where I was running the command, it looked familiar. 
 So...

I'm running deploy again after moving my App.yaml file to that subdirectory

gcloud beta app deploy ./bin/Release/netcoreapp1.1/publish/app.yaml


Note.  It's netcoreapp*1.1* instead of *1.0*.  

I'll let you know how it goes.  I'm running off a hotspot at the moment, 
so, this part takes forever.  

...

It's already farther than my other attempts.  Looking like it might be 
good.  I'll post back here again later.


On Friday, June 9, 2017 at 3:20:07 PM UTC-4, Neo42 wrote:
>
> Step #0: No .deps.json file found for the app
> Finished Step #0
> ERROR
>
>
> What is a deps.json?  Do I need a project.json file, like the sample?  How do 
> I configure it?
>
>
>
> Found build history.  And the log I guess.
>
> I found it via this.  As you run the deploy it says this:
>
> WARNING: Checking the status of the Appengine Flexible Environment API 
> during Appengine Flexible deployments is currently in beta.
>
> Beginning deployment of service [default]...
>
> Building and pushing image for service [default]
>
> Started cloud build [some_number].
>
> To see logs in the Cloud Console: 
>
>
>
> On Friday, June 9, 2017 at 2:42:39 PM UTC-4, Neo42 wrote:
>>
>> Also.  Let me see if I'm right in saying this:
>>
>> Install google cloud sdk.  Done.
>>
>> After building my aspnetcore app in visual studio, the primary steps 
>> needed afterwards are:
>>
>> create an app.yaml file and place it in the same directory as the CSProj 
>> file.  The contents of the app.yaml file are:
>> runtime: aspnetcore
>> env: flex
>>
>> run the following commands via terminal while in the same directory as 
>> the CSproj file and the App.yaml file
>>
>> gcloud app create
>> dotnet restore
>>
>> dotnet publish -c Release
>> gcloud beta app deploy app.yaml 
>>
>>
>> How important is the following line?  I'm not sure I ran it.
>> gcloud app create
>>
>>
>> I'm getting a error upon trying to deploy my app, but I don't know how to 
>> check the logs as it suggests.  ERROR: (gcloud.beta.app.deploy) Error 
>> Response: [2] Build failed; check build logs for details
>>
>>
>>
>> On Friday, June 9, 2017 at 1:49:22 PM UTC-4, Jordan (Cloud Platform 
>> Support) wrote:
>>>
>>> You can deploy any custom runtime 
>>>  
>>> to the App Engine Flexible environment using a Dockerfile. It is 
>>> recommended that you first start with the provided Quickstart Guide  
>>> to 
>>> running a C# project on App Engine. Once you have a working project, you 
>>> can then add in your own C# application code.  
>>>
>>

-- 
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/c3636847-329c-4a45-b61b-65df539c484e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How do I deploy C# projects from my own system via the terminal?

2017-06-09 Thread Neo42


Step #0: No .deps.json file found for the app
Finished Step #0
ERROR


What is a deps.json?  Do I need a project.json file, like the sample?  How do I 
configure it?



Found build history.  And the log I guess.

I found it via this.  As you run the deploy it says this:

WARNING: Checking the status of the Appengine Flexible Environment API 
during Appengine Flexible deployments is currently in beta.

Beginning deployment of service [default]...

Building and pushing image for service [default]

Started cloud build [some_number].

To see logs in the Cloud Console: 



On Friday, June 9, 2017 at 2:42:39 PM UTC-4, Neo42 wrote:
>
> Also.  Let me see if I'm right in saying this:
>
> Install google cloud sdk.  Done.
>
> After building my aspnetcore app in visual studio, the primary steps 
> needed afterwards are:
>
> create an app.yaml file and place it in the same directory as the CSProj 
> file.  The contents of the app.yaml file are:
> runtime: aspnetcore
> env: flex
>
> run the following commands via terminal while in the same directory as the 
> CSproj file and the App.yaml file
>
> gcloud app create
> dotnet restore
>
> dotnet publish -c Release
> gcloud beta app deploy app.yaml 
>
>
> How important is the following line?  I'm not sure I ran it.
> gcloud app create
>
>
> I'm getting a error upon trying to deploy my app, but I don't know how to 
> check the logs as it suggests.  ERROR: (gcloud.beta.app.deploy) Error 
> Response: [2] Build failed; check build logs for details
>
>
>
> On Friday, June 9, 2017 at 1:49:22 PM UTC-4, Jordan (Cloud Platform 
> Support) wrote:
>>
>> You can deploy any custom runtime 
>>  
>> to the App Engine Flexible environment using a Dockerfile. It is 
>> recommended that you first start with the provided Quickstart Guide  
>> to 
>> running a C# project on App Engine. Once you have a working project, you 
>> can then add in your own C# application code.  
>>
>

-- 
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/76d1328d-8d54-470d-8337-a1d6e0f688e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Taskqueue ETA *sometimes* 1 hour off in AppEngine

2017-06-09 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Robert, 

The actual description of the option is: "etaMillis(long etaMillis)  Sets 
the approximate absolute time to execute." on the 
"com.google.appengine.api.taskqueue" documentation page 
,
 
"Method Summary" sub-chapter. Your option sets an approximate value, that 
may increase under heavy load, as you already noticed. 

You are right, taking control of the execution time for your tasks with a 
dedicated strategy and appropriate re-scheduling should avoid these huge 
delays. 

-- 
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/4d6e3a8e-3f56-433a-9543-aa7a1ba3ac1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How do I deploy C# projects from my own system via the terminal?

2017-06-09 Thread Neo42
Also.  Let me see if I'm right in saying this:

Install google cloud sdk.  Done.

After building my aspnetcore app in visual studio, the primary steps needed 
afterwards are:

create an app.yaml file and place it in the same directory as the CSProj 
file.  The contents of the app.yaml file are:
runtime: aspnetcore
env: flex

run the following commands via terminal while in the same directory as the 
CSproj file and the App.yaml file

gcloud app create
dotnet restore

dotnet publish -c Release
gcloud beta app deploy app.yaml 


How important is the following line?  I'm not sure I ran it.
gcloud app create


I'm getting a error upon trying to deploy my app, but I don't know how to 
check the logs as it suggests.  ERROR: (gcloud.beta.app.deploy) Error 
Response: [2] Build failed; check build logs for details



On Friday, June 9, 2017 at 1:49:22 PM UTC-4, Jordan (Cloud Platform 
Support) wrote:
>
> You can deploy any custom runtime 
>  
> to the App Engine Flexible environment using a Dockerfile. It is 
> recommended that you first start with the provided Quickstart Guide  
> to 
> running a C# project on App Engine. Once you have a working project, you 
> can then add in your own C# application code.  
>

-- 
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/b0006236-736b-4997-aaab-d64eeb43059a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How do I deploy C# projects from my own system via the terminal?

2017-06-09 Thread Neo42
That is helpful.  I didn't realize there was a Tab in the documentation for 
doing things va command line instead of only through visual studio.

On Friday, June 9, 2017 at 1:49:22 PM UTC-4, Jordan (Cloud Platform 
Support) wrote:
>
> You can deploy any custom runtime 
>  
> to the App Engine Flexible environment using a Dockerfile. It is 
> recommended that you first start with the provided Quickstart Guide  
> to 
> running a C# project on App Engine. Once you have a working project, you 
> can then add in your own C# application code.  
>

-- 
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/86b083eb-44d4-4bb6-94c6-b84c6fb84407%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Blobstore completely down for whole day!

2017-06-09 Thread D D Orchards

http://lh3.googleusercontent.com

is the url for the blobs. This server has been down for whole day!

-- 
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/470c1bf1-5957-45cc-ab22-e14574bcddf0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How do I deploy C# projects from my own system via the terminal?

2017-06-09 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
You can deploy any custom runtime 
 to 
the App Engine Flexible environment using a Dockerfile. It is recommended 
that you first start with the provided Quickstart Guide  
to 
running a C# project on App Engine. Once you have a working project, you 
can then add in your own C# application code.  

-- 
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/c1db7239-852b-468b-8a49-587e53c8c8b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Have you ever seen this?

2017-06-09 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Paolo, 

What were you attempting to do prior to receiving the error message? Have 
you run some commands? 

You need to authorize your app to access certain data. This is described in 
the "Authorize Requests" online document 
. 

If your situation is different from what has been assumed here, you further 
comments and questions are most welcome. 

-- 
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/5cd907cc-1087-495c-86f4-412f4792f347%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Transaction usage

2017-06-09 Thread Amir Naor
Thanks Jeff. It makes a lot of sense and probably is the cause for the 
issue.

Couple follow up questions:

   1. Is my following understanding re transactions seem right? 
   1. loads() within a transaction or without, will succeed even if another 
  concurrent transaction is making changes to the same object concurrently. 
  The loads will just read the latest fields stored in the db/cache. 
  2. A non-transactional save() will succeed even if another 
  transaction make changes to the same object concurrently. Only concurrent 
  save() by another transaction will fail.
   2. The reason I was trying to avoid having both load() and save() in one 
   transaction is because I have some calculations that require loads of other 
   entity groups (may go beyond the cross group limit). I read that I could 
   use transactionless() for this purpose but not sure how this work:
   1. Does transactionless() work limited to loads() only? 
  2. Will loads() in transactionless() return the data values that 
  exist before the transaction started? Meaning, if the transaction 
modified 
  an entity before transactionless(), loads() in transactionless () will 
not 
  include those changes?
   3. Is it possible to define a retry behavior for fail transition commits 
   with ofy()? I'm looking to control the retries count.
   
Thanks!

On Thursday, June 8, 2017 at 10:33:48 PM UTC-7, Jeff Schnitzer wrote:
>
> If all you wanted to do was make sure that all writes happen together and 
> you otherwise don’t care about data consistency, then sure. However, 9 
> times out of 10 when people ask this question, they’re making a terrible 
> mistake and what they really want to do is load the entities in the 
> transaction.
>
> The problem with your code is that when you write in your transaction, you 
> may be writing stale data. Someone else may have changed the underlying 
> data in between your load and your commit. The only way to guarantee a 
> consistent, serializable view of the order of operations is to load _and_ 
> save the entity in a transaction. If you’re seeing old values for some 
> entities and not others, perhaps you’re seeing the result of write 
> conflicts?
>
> Jeff
>
>
> On Thu, Jun 8, 2017 at 9:40 PM, Amir Naor  > wrote:
>
>> I'm struggling with a data inconsistency issue (something that is 
>> supposed to be saved atomically is not) and it might got to do to with how 
>> I use transactions. 
>>
>> Would love to clarify if my usage is flawed in any way:
>>
>> *Use case*: 
>> Making changes in couple entities and need to ensure they are saved 
>> atomically. In other words, if one entity fails to save all entities should 
>> rollback the changes.
>>
>> *Environment*: 
>> Java standard env using ofy()
>>
>> *Data model*: 
>> User (Cached entity using ofy()), Task (child of User, each User can have 
>> multiple Task instances)
>>
>> *Usage*:
>>
>> 1. load couple User and Task entities (User by key, Task(s) by query)
>> 2. make changes to fetched entities from #1
>> 3. Starts a transaction that only does a save() on all entities from #1 
>> (all belong to the same group)
>>
>> I'm expecting #3 to save all entities atomically but at times some 
>> entities still hold old values while others in the same transaction are 
>> not. 
>>
>> Does the above usage make sense? or is there any requirement that #1+#2 
>> will reside within the same transaction in #3?
>>
>> -- 
>> 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-appengi...@googlegroups.com .
>> To post to this group, send email to google-a...@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/2657da22-f904-44eb-9d0e-a61826407226%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/16243aac-8bc3-444c-826a-32b03981c24d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Taskqueue ETA *sometimes* 1 hour off in AppEngine

2017-06-09 Thread Robert _
For those of you who might run into this in the future.. I've gleaned that 
task ETA is the "soonest" a task will execute.  Under load those times 
start to slip.  Even after jacking queue processing rates way up I'm 
finding huge delays build up over time.  I'm going to need a new scheduling 
strategy.  For high throughput workloads, be warned: executing tasks with 
an ETA is not reliable.  Perhaps there is a way to spin up additional 
appengine instances... but for my purposes I'm going to write some code to 
determine if a task is "late" when I execute it and re-schedule it 
appropriately so my tasks remain spaced at a proper distance.  


On Thursday, June 8, 2017 at 11:42:53 AM UTC-4, Robert _ wrote:
>
> As a quick follow-on I should note that this is not an issue with my local 
> machine or development environment.  Tasks are being enqueued *from the 
> exact same Compute Engine machine* in all scenarios.  I have done the work 
> to isolate this issue.  The timing error is either introduced by the 
> mechanism that pushes the task into the queue or by the queue mechanism 
> itself.
>
>
> On Thursday, June 8, 2017 at 11:34:35 AM UTC-4, Robert _ wrote:
>>
>>
>> I'm experiencing a very tricky bug or "feature" in Taskqueues regarding 
>> tasks set with an ETA.  Tasks are being executed 1 hour later than expected 
>> *in some instances* (inconsistently).  I think this behavior started after 
>> DST.
>>
>> In my experience with a handful of scheduled tasks (e.g. development), it 
>> works fine.  I'm using UTC timestamps in my Tasks set with the 
>> "etaMillis()" method in the Taskqueue API.  Things execute just when 
>> expected.  
>>
>> Each night, however, I have thousands of tasks that queue up.  This 
>> causes multiple AppEngine instances to fire up (and I think this is 
>> important--the root cause of the inconsistent behavior).  Only during load 
>> am I seeing this issue.  *Some* tasks--are executing exactly 1 hour behind 
>> when they are expected to.  My AppEngine region is us-central.
>>
>> Task queues are a wonderful feature of AppEngine.  Anyone else experience 
>> this with high volumes of scheduled tasks?  What's going on?  Different app 
>> engine instances with different time zone settings?  
>>
>> I'm thinking a potential alternative will be to specify countdown 
>> instead... maybe this will resolve the issue?
>>
>

-- 
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/a652965b-0afd-4a7c-885d-431db911041b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: google images cannot search adult

2017-06-09 Thread 'Yannick (Cloud Platform Support)' via Google App Engine
Hello Sean, I believe you are looking for the Google Search help forum 
which can be found here 
. :)

On Thursday, June 8, 2017 at 12:40:46 PM UTC-4, sean zhang wrote:
>
>
> 
> I closed safesearch.
> Letter + number , nothing.
> site , no working.
> google nossl is murderer?
> what happened?
>
>
>

-- 
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/a594cf06-1bfc-40b5-9e7a-09b0cfcb7f16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Hello Guys, GAE cost me too much using the endpoints instance 24/7 , so i need to close it

2017-06-09 Thread 'Yannick (Cloud Platform Support)' via Google App Engine
App Engine costs just as much as you use. There are many ways to tune or 
limit how much you pay  but in 
the end it all comes down to your usage of the platform. You're saying your 
endpoints cost you too much? What are you doing with them and do you 
believe you are accruing costs even as they stay unused?

If you're on the Standard environment with automatic scaling your instances 
can scale down to zero while you're not using them, is it not what's 
happening?

On Thursday, June 8, 2017 at 7:52:28 AM UTC-4, Guy Dviri wrote:
>
> every time  I've get off the PC ( because i'm on developing stage ). is 
> there's any way to reduce the cost so i don't have to pay so much every 
> month.
>
>

-- 
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/5404f311-5bf0-4064-a854-5ac6076d168e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Laravel deployment using Google App Engine: No such file or directory

2017-06-09 Thread Adeel Ahmad
Hello George,

I have again followed all the instructions on the page 

 
you linked. My app.yaml file now looks like this:

runtime: php
env: flex

runtime_config:
  document_root: public

skip_files: false

env_variables:
  # The values here will override those in ".env". This is useful for
  # production-specific configuration. However, feel free to set these
  # values in ".env" instead if you prefer.
  APP_LOG: errorlog
  STORAGE_DIR: /tmp
  APP_KEY: base64:KEY
  CACHE_DRIVER: database
  SESSION_DRIVER: database
  ## Set these environment variables according to your CloudSQL 
configuration.
  DB_HOST: localhost
  DB_DATABASE: zoho_portal
  DB_USERNAME: root
  DB_PASSWORD: PASS
  DB_SOCKET: "/cloudsql/zoho-portal-159018:us-central1:zoho-portal"

beta_settings:
cloud_sql_instances: "zoho-portal-159018:us-central1:zoho-portal"

I also tried adding in unix_socket, but this isn't required in Laravel 
versions >= 5.4.16 according to the tutorial. But, I am still faced with 
the "No such file or directory" error when I visit 
https://zoho-portal-159018.appspot.com/. 


I connected to my cloud_sql_proxy by setting -dir="/var/run/mysqld/" and 
then I ran the migrations. The only thing where I have some doubt is when 
we migrate our database, I think this is being done locally, because when I 
run "mysql -h 127.0.0.1 -u root -p -e 'SHOW DATABASES;'" it shows me all my 
local databases. Could this be the reason why I'm getting the "No such file 
or directory" error? Please take a look and let me know.

Thank you,
Adeel

On Wednesday, June 7, 2017 at 8:29:30 PM UTC+5, George (Cloud Platform 
Support) wrote:
>
> Hello Adeel, 
>
> Your app.yaml file is peculiar in some ways. It might be of value to you 
> checking the "Run Laravel on Google App Engine Flexible Environment" 
> instructions page 
> .
>  
> In the "Set up Database Sessions" subchapter, you do not skip environment 
> variables with "skip_files:
>   - .env", and the line for the app key is missing: "APP_KEY: 
> YOUR_APP_KEY". These instructions assume you log in as root, not as user. 
>

-- 
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/a64d2200-aada-4ac4-9254-048d3c76a493%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Best Practices for Search API?

2017-06-09 Thread Emlyn
I've just noticed that the old 10GB limit on search indices can be raised
on request to 200GB max, on an index by index basis.

I've got a use case where I'd ideally like search indices to be unbounded,
but 200GB will go a long way. Is there any penalty associated with this,
though? Do the indices perform worse as they get larger? Does anyone know
why there is a limit at all?

-- 
Emlyn

http://point7.wordpress.com - My blog
https://plus.google.com/u/0/100281903174934656260 - Google+

-- 
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/CAMp1VPBcfZZUT14s3v7mxCoPy33Yryv3T2OaxPg_kvX4-aUm3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.