I have gone and written a tool that makes the direct Rest API calls to create and then download the replica. The download performance difference is significant. Using a replica that is 166,640 KB.
- The API directly it takes 4:48 to generate and download the replica.
- The tool using direct Rest calls takes 2:19
As I can put logging into the custom tool, it shows ~2:15 to generate the replica on the server (I check every 15 seconds). Based on that that means the API takes 2:29 seconds more to download the replica than just making a direct call using the HttpsClient:GetStreamSync with the result Url. That is 38x longer on a file around 165 MB.
On the network we are deploying the difference is even more significant than seen on our testing environment.
This is using .net for WPF 100.2.
Thanks,
-Joe