线程并发 [英] Concurrency of thread

查看:98
本文介绍了线程并发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个运行良好的WCF应用程序(vb),但是当服务器在与另一个用户进行呼叫时,当用户请求信息时,每个人都将挂起!

I have a WCF application (vb) which works fine but when a user requests information while the server is doing a call to another user, everybody hangs!

推荐答案


如果您根据wcf配置向我们提供有关该应用程序的更多详细信息,那将非常有帮助.

但是,如果您检查这些点,那将是很好的

可能的阻止者-

1)在客户端-您是否正在处理代理实例,否则将成为瓶颈-一旦您的服务限制条目超过

2)如果InstanceContext Mode为Singleton,而在客户端,如果您不处置代理,则后续请求将被阻止...

问候,
-Vinayak
Hi,
It would be really helpfull, if you give us some more details about the application in terms of your wcf configurations.

However it would be good if you check these points

Possible blockers -

1) AT client side - Are you disposing the proxy instance , if not it will act as the bottleneck - Once your service throttling entry exceeds

2) If InstanceContext Mode is Singleton and at Client side if you are not disposing the proxy, then the subsequent request will be blocked...

Regards,
-Vinayak


这篇关于线程并发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆