Frage

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

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top