I came across a complex situation (imo) which is why I am asking this question. I am developing an application where in, I connect to all SharePoint Sites specified by user and all its sub sites using client object model. Now there is a client who have lots and lots of sub sites and their child sites. The total count goes easily into hundreds.
At the moment I simply read all the site structure on background thread during first load to allow my application to run normally. It still takes at least 50-60 seconds overall to test connection to each site and sub site. Now, I am thinking to add another background thread for each sub site at level 1, from where several questions arises.
Adding another thread would mean there would be more simultaneous connection to SharePoint Server from each user. Will there be a negative or sudden severe performance impact on SharePoint Server? Even though I will be making connection to different Site/Sub Site!
Then imagining a SharePoint Site with 200 sub sites, could initiating so many background threads at once create system issue or any problem?
I know I do not have best-est choice of words but I hope I made my self clear enough. Any suggestions would be very helpful and appreciated. Thanks