Click here to Skip to main content
15,889,992 members
Home / Discussions / COM
   

COM

 
AnswerRe: How to raise Performance of COM Server of external API ? Pin
Baltoro12-Jul-09 10:58
Baltoro12-Jul-09 10:58 
GeneralRe: How to raise Performance of COM Server of external API ? Pin
gehbitte12-Jul-09 23:48
gehbitte12-Jul-09 23:48 
GeneralRe: How to raise Performance of COM Server of external API ? Pin
Baltoro16-Jul-09 14:53
Baltoro16-Jul-09 14:53 
GeneralRe: How to raise Performance of COM Server of external API ? Pin
gehbitte16-Jul-09 21:00
gehbitte16-Jul-09 21:00 
GeneralSome Information on COM server and client model Pin
Baltoro18-Jul-09 7:47
Baltoro18-Jul-09 7:47 
GeneralRe: Some Information on COM server and client model Pin
gehbitte18-Jul-09 8:48
gehbitte18-Jul-09 8:48 
GeneralRe: Some Information on COM server and client model Pin
Baltoro18-Jul-09 11:48
Baltoro18-Jul-09 11:48 
GeneralHa Ha (apparently Microsoft had this problem too) Pin
Baltoro18-Jul-09 13:04
Baltoro18-Jul-09 13:04 
I was googling "RPC DCOM Transmission Acceleration", and I hit this Microsoft Corporation patent description at Patent Storm: Accelerating a Distributed Component Architecture Over a Network Using a Modified RPC Communication[^]. This information is taken directly from the document and describes the 'overhead' better than I did.

"As can be expected, calling an object located on the same computer is faster than calling an object located on a remote computer. This speed difference can be due to a number of factors. The network cables are significantly longer than the leads between the processor and the memory on the local machine. Therefore, the electrical signals simply take longer to reach the remote computer than to reach the object resident in memory on the local machine. A significantly larger factor is the overhead caused by the network protocol. Each data transmission over a network must be encapsulated, and additional information must be added to the packet so that it may be transferred across the network with error correcting capabilities, and so that it may properly be decoded on the remote machine. Furthermore, each packet sent over a network may be accompanied by a flurry of additional network packets performing necessary buffer management and receipt acknowledge functions. These further packets, which comprise the network flow control, also add to the time required to send an object call over a network to a remote computer."

"An additional factor contributing to the speed difference between a call to an object resident on the same machine and one resident on a remote machine is the overhead created by DCOM and the RPC model. RPC marshals pointers and data to be transmitted across the network by reading them from the program memory and packaging them for transportation across the network. Marshaling introduces delay because it copies from program memory into an RPC buffer the element that is to be transmitted across the network. Another aspect of the overhead of DCOM and RPC are the runtime layers. The RPC and DCOM runtime layers bridge together the client and server so that the client can make remote calls to the server. This process of bridging the client and server together is known as binding. Binding information can include the Internet Protocol (IP) address, the port number, and the interface identifier (IID)."

"The combined effects of the marshaling, the additional packets of flow control, and the activities of the runtime layers result in a dramatic decrease in the performance of DCOM over a network. In fact, compared to a raw network application which directly sends data across the network, the DCOM overhead can decrease performance by a factor of three or more."

I'm thinking that there is probably a way to query the rate at which the Data is sent over the the wire in the RPC protocol, but, probably this capability resides in the Remote COM Server. It may not be accessible to your local COM server. Otherwise, I don't really have any suggestions, since I am unfamiliar with the specific COM architecture of your remote server. You could, of course, monitor the performance of your local COM server, establish a baseline for the maximum amount of data that can be accessed, and design accordingly.
A better way would be to design an algorithm that predicts small data fluctuations (based on observed patterns) and, if a cyclic or periodic correlation is evident, eliminate as many redundant data queries as is reasonable, perhaps querying less and less often if your algorithm successfully predicts the outcome of insignificant data fluctuations. I don't know, I'm not really sure what kind of data you receive, or of what significance it is to your analysis.
GeneralRe: Ha Ha (apparently Microsoft had this problem too) Pin
gehbitte18-Jul-09 22:19
gehbitte18-Jul-09 22:19 
QuestionWriting multiple Tables to Word from VB Pin
spikedturtle11-Jul-09 4:49
spikedturtle11-Jul-09 4:49 
AnswerRe: Writing multiple Tables to Word from VB Pin
Stuart Dootson11-Jul-09 6:00
professionalStuart Dootson11-Jul-09 6:00 
QuestionProgram crashes while updating .idl file manually Pin
chandrakar ashish10-Jul-09 1:17
chandrakar ashish10-Jul-09 1:17 
AnswerRe: Program crashes while updating .idl file manually Pin
«_Superman_»10-Jul-09 16:09
professional«_Superman_»10-Jul-09 16:09 
AnswerRe: Program crashes while updating .idl file manually Pin
Chiman110-Jul-09 20:29
Chiman110-Jul-09 20:29 
AnswerRe: Program crashes while updating .idl file manually Pin
Stuart Dootson11-Jul-09 2:11
professionalStuart Dootson11-Jul-09 2:11 
QuestionWord Document Mail Merging and then Editing in automated fashion Pin
Sandumone9-Jul-09 10:06
Sandumone9-Jul-09 10:06 
QuestionQuerInterface fails for an Interface of type IUnknown in VB .NET windows service but the same works in VB .NET forms application Pin
VM JOE9-Jul-09 3:51
VM JOE9-Jul-09 3:51 
QuestionAdd extra device property sheet in Windows 7 Devices and Printers Pin
User 60869398-Jul-09 10:15
User 60869398-Jul-09 10:15 
QuestionButton on Toolbar not showing chervon effect Pin
am 20097-Jul-09 0:24
am 20097-Jul-09 0:24 
AnswerRe: Button on Toolbar not showing chervon effect Pin
zm157316-Jul-09 0:07
zm157316-Jul-09 0:07 
QuestionSMPP COM library Pin
harrisyn6-Jul-09 13:27
harrisyn6-Jul-09 13:27 
GeneralRe: SMPP COM library Pin
Md. Marufuzzaman6-Jul-09 21:49
professionalMd. Marufuzzaman6-Jul-09 21:49 
GeneralRe: SMPP COM library Pin
harrisyn7-Jul-09 12:01
harrisyn7-Jul-09 12:01 
GeneralRe: SMPP COM library Pin
Md. Marufuzzaman7-Jul-09 22:41
professionalMd. Marufuzzaman7-Jul-09 22:41 
GeneralRe: SMPP COM library Pin
harrisyn7-Jul-09 23:07
harrisyn7-Jul-09 23:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.