I did this by going up to server and then onto the cloud and then store the 
image url in appropriate database...I wouldn't do it this way now, in fact 
I plan to change this to client --> cloud direct, I do this for video and 
it works great now. It was a bit of a fuss pot to setup, but once you have 
done the donkey work, it's fine. I create a signed url on the server with 
an ajax request, send it back and initiate the upload. 


So go down the client --> cloud route. it's a much cleaner solution. 

On Saturday, August 19, 2017 at 9:48:49 PM UTC+3, Suresh Jeevanandam wrote:
>
> Hi,
>   In my application, I need to store a set of images with a particular 
> kind.
>   These will be uploaded by a small set of users (~20) but be read by a 
> lot.
>
>    Now I am wondering which way to go about this. Storing the images in 
> the data-store blobs vs using the outdated blob-store vs using cloud 
> storage. I am trying to use cloud storage as it seems to be the recommended 
> one.
>
>    Again with using cloud storage, I have to choose among few options. It 
> appears the easiest option is to use the cloudstorage module and read and 
> write from/to the bucket in the requests. But I also see few posts about 
> signed URLs. As far as I could see, the signed URLs have the advantage that 
> the data moves between the client and the storage bucket without having to 
> go through appengine.
>
>    Let's say I choose the easier option of routing the data movement 
> through appengine, what am I losing:
> 1. Delays ?
> 2. Cost? Does read, write from appengine incur additional cost. Since 
> uploading is a rare thing in my application, is there an easy way to give 
> direct URL links for images stored in cloud-storage with access restriction 
> (something like signed URLs for reading) - Sorry if I miss something here 
> stated obviously in the documentation somewhere. I see information about 
> this scattered around and all confusing. I wish we had a more organized 
> documentation.
>
> -
> Suresh
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/16a8774e-34e9-42b9-8ab9-7e8865af83ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to