Hello
I am using InfoPath 2010 to develop form(s) that retrieve data from WCF web service, which, in turn, pulls data from SQL Database. The connection settings to WCF web service functions are stored inside a data connection library, at the site collection level. To guarentee the basic performance, I haven't configured any of the data connections to "Automatically retrieve data when the form loads" - they get executed only when certain events are fired. There is also some custom coding in C# which gets executed when data is retrieved from WCF web service for the first time.
Now, for a single user, the form loads in a second, without any hassles. But, when we do Visual Studio driven load testing for 10 minutes without any think time and with following settings - Max User Load - 200 with intial users = 20 and step up = 20 users, we get the following results
Average Page Time (sec) = 31.7
Pages/Sec = 5.69
Avg Response Time (sec) = 12.5
Requests/Second = 23
While the load test happens, CPU Utilization = 90% (with rigorous spikes), Memory Utilisation = 90% on the front end. Its a 3 server SharePoint 2010 farm with the front end and middle tier running on each of Windows Server 2008 R2 Enterprise - 4GB RAM - 4 CPU.
What could be the reason for the high page time and CPU Utilization, when we do the load testing? Is it because I am using data connection library? Could the bottleneck be attributed to Form Services Settings in Central Administration?
Any help on this is appreciated.