Search code examples
c#performanceazureblobazure-storage

Does Azure Blob filter "prefix" of blob's name?


The requirement is get all available BlockBlob that's name start with given prefix: I used API:

 CloudBlobClient.ListBlobs(prefix: "test").OfType<CloudBlockBlob>.Select(b=> b.Name).ToList();

I wonder how this API work:

  1. Client load all blob's metadata , then filter the blob's name
  2. Server do the filter, then return the blob's name.

Thanks.


Solution

  • No need to worry, the Server will do the filter.