Hi Parag Rahangdale,
It looks like you are facing issue with the speed of APIs after integrating new Azure SDK.
This can be caused due to various factors which you can check by doing the following: -
Start with diagnostic settings logs which has different properties that help in identifying where the slowness occurs. You can use the below query as example (for Azure Monitor):
ApiManagementGatewayLogs
| where TimeGenerated > ago(1d)
| extend ApimTime = TotalTime - (BackendTime + ClientTime)
| project TimeGenerated, TotalTime, BackendTime, ClientTime, ApimTime, CacheTime, BackendMethod, BackendUrl, BackendResponseCode, Url, ResponseCode,
LastErrorMessage, LastErrorReason, LastErrorSource, LastErrorSection, ApiId, ProductId, OperationId
There can be a Network Latency Issues which you can check by ping and look into the below link for more information of network latency
https://learn.microsoft.com/en-us/azure/expressroute/expressroute-troubleshooting-network-performance#tools
In few cases the new API versions may introduce additional checks or features that could affect performance which may cause latency. Microsoft always tries to improve issues in the subsequent minor releases for smooth running of the Latest version based on the previous releases.
https://azure.microsoft.com/en-us/updates/?product=virtual-machines))
Feel free to reach out if you have any further queries.
If you found the information useful, please click "Upvote" on the post to let us know.
Thank You.