i have made one wcf service Method which is consuming third party service methods(call methodA, methodB, methodC) and Here all three belongs to different services i.e. serviceA, serviceB, serviceC..
each method accepting single input object for processing (not List of input object). but i have to work on multiple objects, so i am consuming this methods in for loop..
now the problem is, suppose i have 3 objects to process with methodA, 2 objects to process with methodB and 5 objects to process with methodC.. and consider each method taking 1 sec to process then total time taken to process all is almost 10 seconds.. to overcome this problem after googling i got options like threading and parallel-linq. of course i don't have enough knowledge about threading and its performance, i choose to stay away. Now with parallel linq i found performance is up.. but still expectations are not satisfied(and sometime its throwing timeout exception).. so please advice what should i try now.. whether to dive in threading or anything other to try?