Designing a partition strategy for files
In this section, we will look at the partitioning techniques available for Azure Storage, which should also cover files. The Azure Storage services are generic and very flexible when it comes to partitioning. We can implement whatever partition logic we want, using the same Create, Read, Update, Delete (CRUD) application programming interfaces (APIs) that are publicly available. There are no special APIs or features available for partitioning. With that background, let's now explore the partitioning options available in Azure Blob storage and ADLS Gen2.
Azure Blob storage
In Azure Blob storage, we first create Azure accounts; then, within accounts, we create containers; and within containers, we create actual storage blobs. These containers are logical entities, so even when we create data blobs within containers, there is no guarantee that the data will land within the same partition. But there is a trick to enhance our chances of...