educative.io

Optimal chunk size

We can statically calculate what could be an optimal chunk size based on 1) Storage devices we use in the cloud to optimize space utilization and input/output operations per second (IOPS) 2) Network bandwidth 3) Average file size in the storage etc. In our metadata, we should also keep a record of each file and the chunks that constitute it.

why is chuck size a function of storage devices, iops, network bandwidth, and average file size? will different storage devices require different chunk size?