Azure performance and scaling

Performance metrics (scan times)

Below are some estimates of how long a scan takes for various file types. The data was collected by uploading individual sample files to an Azure blob that was in the same region as the scanner. The estimates were tested with the default Azure function app settings:

  • PDF file under 10 MB: 9 seconds
  • PNG file under 10 MB: 9 seconds
  • PDF file under 100 MB: 13 seconds
  • MOV file under 2 GB: 4 seconds
  • Y4M file under 20 GB: 25 seconds

How are bursts in load handled?

If you expect a large number of scanning requests to File Storage Security all at once, configure the scale out instance by increasing the Maximum Burst in the function's Scale Out configuration to improve performance.

Below are some estimates of how long a scan takes and settings that were used for various numbers of 10 MB PDF files. The data was collected in a deployment with one storage stack and one scanner in the same region.

Total number of files Settings Total scan time (seconds)
1000 default setting (scale out instance = 1) 754
500 default setting (scale out instance = 1) 374
100 default setting (scale out instance = 1) 79
1000 scale out instance = 20 334
500 scale out instance = 20 265
100 scale out instance = 20 79