Is it possible to write data with one process, and in the same time read with same process or another one, on same or different GCE machine?

The API is doesn't seem to cover this one:

https://developers.google.com/storage/docs/concepts-techniques#streaming

有帮助吗?

解决方案

No, this is not supported. An object is not visible for reads until the writer finishes writing and finalizes the object.

Depending on your specific use case, you might be able to use composite objects to achieve what you need. For example, instead of writing to one large object, you could write smaller chunks of the object to individual objects, then compose them together into a larger object when finished. This would allow a reader to read each component after it's been written.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top