We are using Microsoft Dynamics CRM 365 On-Premise on top of that we have a public portal where users are able to query and create some cases. on high volume of traffic using JMeter (70 Thread for 30Min) we noticed the average request time is 15s per request which is not accepted.
We are using SDK (Microsoft.CrmSdk.XrmTooling.CoreAssembly 9.1.0.68).... CrmServiceClient
After trial and error for many times we were able to tweak the performance and reach an average request time of 4s by setting this property to True (CrmServiceClient.DisableCrossThread).
But that places the requirements of thread safety on us.
how we can create a Pool of thread safety using CrmServiceClient on our web application and how to test it to avoid threading issues.
or if there is any techniques to communicate with CRM to get high response time.