My scenario is:
1. We have on premise CRM 2011.
2. I have a process that runs for a long time, does many inserts / thousands could take 5-30 minutes
Created a windows service that will run asynch these process
I created "x" number of threads that each has its own organization service proxy that will do inserts in parallel
3. We have 4.0 .net framework installed
Outcome is:
I can see 40% to 50% improvement with about 10 threads.
More than this number of concurrent threads will not help.
I wonder what settings are preventing the threads to run in parallel and how could those settings be set?
in the windows service app.config I tried this setting with no improvement:
<system.net>
<connectionManagement>
<add address = "*" maxconnection = "100" />
</connectionManagement>
</system.net>
I guess WCF organization service will create a session for each service proxy I have and it can handle more than 10?
Any help highly appreciated
Dan