简体   繁体   English

.Net远程通话延迟

[英].Net Remoting call delay

Our application calls, the following remoting call at 20ms. 我们的应用程序调用,随后的远程调用在20ms处进行。

void getAllBlockValues(out int[] ids, out byte[][] values)

Normally it takes 2-4 ms to return the call. 通常,需要2-4毫秒才能返回呼叫。 But in some cases, the call takes more than 30ms. 但是在某些情况下,通话耗时超过30毫秒。 The server logs shows that the call received at the server side only after 20ms. 服务器日志显示仅在20毫秒后服务器端收到了呼叫。 The server and client are running in the same machine. 服务器和客户端在同一台计算机上运行。

It looks like the .Net remoting layer is delaying the call. 看来.Net远程处理层正在延迟呼叫。

How can I Identify the cause of the issue? 如何确定问题的原因?

Is there any tools available to detect performance bottleneck of remoting calls(where they are blocking)? 有没有可用的工具来检测远程呼叫(阻塞的地方)的性能瓶颈?

Following link contains microsoft guidance on improving remoting performance, 以下链接包含有关改善远程处理性能的Microsoft指南,

http://msdn.microsoft.com/en-us/library/ms998565.aspx http://msdn.microsoft.com/en-us/library/ms998565.aspx

If you are looking of IPC and it is always in same machine use IPC Channels, it will give better results 如果您正在寻找IPC,并且它总是在同一台机器上使用IPC通道,它将提供更好的结果

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM