Re: [google-appengine] Receiving data from Google Cloud

2020-08-17 Thread wesley chun
GCF on GCP auto-scales (as does GAE & GCR). Each instance only supports one request at a time. Additional instances will be spun up to support other concurrent requests. If your function (or app or container) "goes viral," GCP automatically handles the traffic for you. However, not everyone has

Re: [google-appengine] Receiving data from Google Cloud

2020-08-16 Thread Vishnu U
Thanks a lot. Now I got an idea on how to proceed. Also please explain to me in case there are multiple requests how GCP will handle them - is there any load balancer? This is because the project is time-critical. On Sunday, August 16, 2020 at 1:56:44 AM UTC+5:30, Wesley C (Google) wrote: > >

Re: [google-appengine] Receiving data from Google Cloud

2020-08-15 Thread wesley chun
Ah, great. That was good to know, and yes, you can do it the easiest with Cloud Functions... since you're only serving a model, you don't need an entire app (App Engine). I've not done it myself, but start with this post

Re: [google-appengine] Receiving data from Google Cloud

2020-08-15 Thread Vishnu U
My aim is like i want to perform prediction using a Keras saved model. So I receive two sensor inputs from raspberry pi to Google Cloud and perform the prediction on the cloud and return that result back to raspberry pi to make necessary changes. Will cloud functions be suitable for this? On

Re: [google-appengine] Receiving data from Google Cloud

2020-08-15 Thread wesley chun
It's best if you describe your entire architecture then, because I was only going on what you stated in your OP... you "have to send data from Raspberry Pi to Google Cloud, process it, and receive the result back to the same Raspberry Pi." I answered that your use case looks like it fits Cloud

Re: [google-appengine] Receiving data from Google Cloud

2020-08-14 Thread Vishnu U
But my source of data is not any cloud storage or cloud data store. Suppose I received data on app engine from raspberry pi and I perform some calculation and want to return that data. Is this possible? -- You received this message because you are subscribed to the Google Groups "Google App

Re: [google-appengine] Receiving data from Google Cloud

2020-08-14 Thread Vishnu U
But my source of data is not any cloud storage or cloud data store. Suppose I received data on app engine from raspberry pi and I perform some calculation and want to return that data. Is this possible? On Sat, 15 Aug 2020 at 6:45 AM, wesley chun wrote: > While App Engine will serve your needs,

Re: [google-appengine] Receiving data from Google Cloud

2020-08-14 Thread wesley chun
While App Engine will serve your needs, based on what you asked, perhaps Google Cloud Functions would be a simpler solution. You can get started immediately by going to the Cloud console's Cloud Functions dashboard

[google-appengine] Receiving data from Google Cloud

2020-08-14 Thread Vishnu U
I am working on a project where I have to send data from Raspberry Pi to Google Cloud, process it, and receive the result back to the same Raspberry Pi. Is this possible using Google App Engine?. If not is there any other service in GCP that can do this functionality? -- You received this