Hey Hector, While this isn't possible in the way you described exactly, since you can only begin fetching an object once it's been uploaded successfully, there is a solution which accomplishes essentially the same thing, although it will require a slight bit of sophistication in the uploading client to ensure things go well:
Have the uploading client send chunks of the file to the Cloud Storage API as a multipart upload <https://cloud.google.com/storage/docs/json_api/v1/how-tos/upload#multipart> while, at the same time, sending these chunks to the other client (or sends them to a location where it will be available to the other client upon request). The complexity arises when you need to perform 2 multi-part upload processes, with retry / back-off logic for the two streams being independent. I hope this is clear enough in my explanation, let me know if you have any questions. Cheers, Nick Cloud Platform Community Support On Tuesday, April 19, 2016 at 1:11:41 PM UTC-4, Hector Montaner wrote: > > What I want to achieve is one client uploads a file to Google Cloud > Storage (several GB) and another client starts to download it before the > upload is finished, in a pipelined way. > Is it possible? If not, what alternatives do I have? > -- 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/e443293f-dc17-42ac-8b6d-651f928e01d7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
