windows - Is there a way to decrease overhead associated with out-proc COM calls? -


Our program uses an out-call COM server and makes thousands of calls on its interface. It takes a very long time - like one minute for almost 50k calls, COM component vendor says that calls are themselves too fast and this problem is in overhead calls related to over-call calls.

In such cases, can anything be done to reduce the overhead?

I really do not think that a lot can be done without the help from the seller, because of its nature The process requires a comm oscillation more marshaling than an in-process.

If you can get the seller to help, there are two possible options. / P>

  1. Ask them to provide in-process version (DLL) which you can host in COM + and create more than one instance (if appropriate) and can help Are there.
  2. As suggested by BAsilevs and ask them to update the API so that you can reduce the traffic by making less calls.

The main thing to save the type of traffic you are about to get is that COM + can not be used with an out-of-process COM object.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -