I am uploading images to Cloudinary from my Node.js App Engine server using the cloudinary SDK. Images are taking too long to upload. Some observations made:
size time
31Kb 750ms
536Kb 36114ms
5.5Mb 59619ms
Back when the server was hosted on Heroku, images uploads were way faster (never more than 2000 ms). Is external network egress from App Engine outside of Google to blame here? How can I get parity with Heroku?
Also, if I run my server locally and upload to Cloudinary, uploads are pretty fast. Why does App Engine make uploads slow?
Related
I am hosting a CodeIgniter based PHP web application on Google App Engine flex environment.
I am able to allow the user to upload data like images, video to my Google Cloud Storage bucket. But what I need to do is when the image or video gets uploaded to the storage, at that same time the same object should be downloaded on Google App Engine server's source code.
i.e. There should be a copy of the uploaded image on my current App Engine source code server (App Engine current instance).
I have signed up for the Google Cloud Free trial and tried out the App Engine with my Java Spring Boot web app.
I've managed to deploy my Spring Boot Application onto the app engine using this guide:
https://codelabs.developers.google.com/codelabs/cloud-app-engine-springboot/#0
However my web app seems to be running extremely slow. I am getting very high latency on loading small static files. Like 2-3 seconds for each 2KB .js file that the web app is serving.
I've tested the app on Amazons AWS Elastic Beanstalk platform, and the app is running smooth and as expected there.
I know that I haven't provided much info, but I'm not sure what to include here. It seems like it's just working really slow "right out of the box".
Any ideas why this may be, or what I can do to fix/test this?
I'm just getting started with Google App Engine and I have a few questions. Some of my swf files are halting their download after loading the first 10%. This doesn't happen on a traditional web host, or when running the GAE app locally. I'd like to verify that the file has uploaded properly, but I can't figure out how to view the files associated with an app once they've been uploaded to Google App Engine.
Thanks
There is no way to view files on the server. But you could download app files from the server: https://cloud.google.com/appengine/docs/java/tools/uploadinganapp#Downloading_an_Application
Also I suggest to use Google Cloud Storage for such files, there you can upload/download/verify/etc from the browser (or command line), and it better suits for serving static files, especially large ones
I'm using the Eclipse Plugin for App Engine, and I have my application running fine locally (able to read/write to the local Cloud Datastore).
However when I deployed to App Engine, the server copy does not seem to have any Cloud Datastore information. Do I need to upload this separately, and if so how do I do this?
I am developing an app which is a multiuser game. My app is to be run on the browser. So here my unity file talks to the database through the SFS server. This is the typical architecture that my application follows. My current app size is about 47MB.
Now I am trying to upload the app to the Google App Engine. I made a few smaller (in size) demos and tried uploading them and they worked fine. But just realized that my current app does not upload as it exceeds the 32MB quota. Is there a way to still make my file work (other than reducing the file size)?
Also, will the mentioned architecture (Unity-SFS-MySQL) work fine on GAE?
It seems that you hit the maximum deployment limit of 32MB per file (total is 1GB). See deployment quotas.
Do you have a file in your project that is bigger than 32MB? Can you split it in smaller files? If not, than you might need to upload your file to blobstore and serve it from there.