0

When gcsfuse is used to mount a bucket in a google cloud vm and we access that resource, for example an image through a url that was configured for the vm, example.com/image.jpg, is internal traffic created between the vm instance and the bucket mounted with gcsfuse ?, the response time for the image is affected ?, Would it be better to call it from the bucket for example https://storage.googleapis.com/bucket/imagen.jpg ?, any help is welcome.

1 Answers1

1

Keep in mind that gcsfuse is simply an API wrapper that transform os read/write calls into API gRPC calls.

Thus, all the stuff around the GCS API calls are applied:

I'm not sure that calling the file directly like this https://storage.googleapis.com/bucket/imagen.jpg is more efficient. A new HTTP call is initiated (with SSL handshake and so on). I never tested but I have the feeling that with gcsfuse it can be more efficient.

guillaume blaquiere
  • 66,369
  • 2
  • 47
  • 76