Our program consumes an out-proc COM server and makes thousands of calls on its interfaces. This takes very very long time - like a minute for about 50k calls. The COM component vendor says that the calls are very fast by themselves and that the problem is in the overhead associated with out-proc calls.
Is there anything that can be tuned to reduce the overhead in such cases?
I really dont think there is much that can be done without help from the vendor. Since by its nature an out-of-process com object is going to require much more marshalling etc than an in-process one.
There are two possible options if you can get the the vendor to help.
The main thing for saving the kind of traffic you are tallking about is COM+ but this cant be used with an out-of-process COM object.