Azure VNET vs Azure IR inside of Pipelines
Published Sep 20 2022 02:37 PM 2,463 Views
Microsoft

I was working with a customer this week who wanted to understand why the ADF inside of the managed virtual network was slower than the one created on the Azure IR. This was not the first time a customer asked me about that so I thought I would blog about it.

 

When you create an Azure integration runtime inside of the VNet (virtual network), it will be provisioned with the managed virtual network. It will use private endpoints to securely connect and ensure data integration is isolated and secure.

 

The service will start the IR inside of the managed VNet and that takes time (Fig 1). It will be something like this: 

Liliam_Leme_3-1655905484360.png

Fig 1. 

 

 

Conceptually, VNet or not VNet will work differently as it is documented here: 

 

"Checking the details of pipeline runs, you can see that the slow pipeline is running on Managed VNet (Virtual Network) IR while the normal one is running on Azure IR. By design, Managed VNet IR takes longer queue time than Azure IR as we are not reserving one compute node per service instance, so there is a warm up for each copy activity to start, and it occurs primarily on VNet join rather than Azure IR."

 

 

In order to demonstrate this, I duplicated a pipeline in 2 environments: one with VNet and another one without VNet. Both were copying the same files from the same folder inside of the same storage account. 

 

Note: At the time this was first written, TTL (Time-to-Live) was not an option for Copy activity.  

 

 

Performance Results

 

Performance With VNet (Fig 2): 

Liliam_Leme_2-1655905454642.png

Fig 2

 

 

Performance Without VNet (Fig 3):

Liliam_Leme_0-1655905375641.png

Fig 3

 

 

Update: In June 2022 it was released a new feature to handle the warm-up for copy activity.  I tested and it really made a huge difference in the copy activity execution time. Read more about this update here.

 

Conclusion

As Fig 2 and Fig. 3 show, there is a considerable difference in queue time, besides the throughput ( which varies). Queue time = Compute Node Warm-up and that usually takes more time inside of a managed VNet.

 

However, If you want to avoid the copy activity warm-up, check out the TTL preview feature for ADF.

 

I hope this clarifies things!

 

Liliam

UK Engineer

 

 

Co-Authors
Version history
Last update:
‎Sep 20 2022 02:36 PM
Updated by: