【发布时间】:2016-02-19 09:19:54
【问题描述】:
在发现 SF Reliable Services 时,我想确保以下基本陈述是正确的。
Reliable Services 默认通信栈 (DefaultStack) 和 Reliable Actors 通信栈(使用 ServiceProxy/ActorProxy)只能用于 SF Cluster 内部的通信。外部客户必须使用 WebAPI/WCF 堆栈。
ServicePartitionResolver、CommunicationClientFactory、ServicePartitionClient 是已经在 DefaultStack 中实现的东西。如果我只使用 DefaultStack 就不用担心了。
一些有状态的服务有不止一个分区,我想发布一个项目来处理它。 SF 不负责通过发布客户来决定应该使用哪个分区。我需要手动实现解析分区键或名称的算法,并在 ServiceProxy 构造函数中使用它(用于 DefaultStack)。
【问题讨论】:
标签: azure service communication partitioning azure-service-fabric