简体   繁体   English

Python和WCF之间的通信

[英]Communication between Python and WCF

I have multiples servers (200-300) in Python 2.4 calling a WCF service using REST. 我在Python 2.4中使用多个服务器(200-300),使用REST调用WCF服务。 I would like to be able to notify those servers of some changes that occured on the WCF service instead of asking all servers in Python to do some pooling to detect such changes. 我希望能够通知这些服务器WCF服务上发生的一些更改,而不是要求Python中的所有服务器执行某些池来检测此类更改。

How can I do such broadcast, notification to avoid the pooling? 我该怎么做这样的广播,通知以避免汇集?

Thanks Sylvain 谢谢西尔万

A message bus seems to be the right choice. 消息总线似乎是正确的选择。 You might want to have a look at ZeroMQ . 您可能想看看ZeroMQ It's cross-platform and has bindings in a variety of languages. 它是跨平台的,并且具有多种语言的绑定。

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

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