Azure ServiceBus与ServiceRemoting,HTTP和WCF [英] Azure ServiceBus vs ServiceRemoting, HTTP and WCF

查看:53
本文介绍了Azure ServiceBus与ServiceRemoting,HTTP和WCF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Service Fabric的文档建议使用服务远程处理ICommunicationClient或WcfCommunicationClient来实现微服务之间的通信.

The documentation of Service Fabric recommends service remoting, ICommunicationClient or WcfCommunicationClient to realize the communication between the micro services.

我什至没有提到我一直用于服务间通信的ServiceBus.为什么?

The ServiceBus, which I always used for inter-service communication, is not even mentioned. Why?

推荐答案

我认为您误解了文档.它不推荐任何协议或服务(该单词甚至在页面上都没有出现).它的作用是列出内置的通信选项以及何时使用它们的适当情况.

I think you misinterpreted the docs. It does not recommend any protocol or service (the word is not even present on the page). What it does do is list the built-in communication options and appropriate situations of when to use them.

没有什么可以阻止您使用服务总线进行服务间通信.实际上,如果您四处搜寻,您会发现一些项目,例如这个项目

There is nothing that prevent you from using service bus for inter service communications. In fact, if you google around you will find some projects like this one

插入任何所需服务或协议的能力是SF的一大优点,但它们却让实现留给了您.

The ability to plug in any desired service or protocol is one of the great things about SF, but they leave the implementation to you.

这篇关于Azure ServiceBus与ServiceRemoting,HTTP和WCF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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