Service Fabric - A/B 无状态服务测试

Service Fabric - A/B Testing for Stateless Service

我们计划在 Azure Service Fabric 中托管我们的无状态 Web API。我们要根据 A/B 测试创建服务升级策略。我创建了一个版本为 1.0.0 的应用程序。在 Service Fabric 集群中部署此应用程序后,我将对我的应用程序进行更改并将其升级到版本 2.0.0。

是否可以在 Service Fabric 集群中并排部署具有不同版本的相同服务,然后根据客户标识符将客户引导至这些版本中的每一个?在将所有客户迁移到新版本的服务之前,我们希望对新版本进行 A/B 测试。

在这种情况下,外部客户端使用这些 WebAPI 的 public URL 是多少?

Is it possible to have a side by side deployment of same service with different versions in a service fabric

是的。

and then direct customers to each of these versions based on customer identifier?

是的。

What will be the public URL for external clients in this case for consumption of these WebAPIs

如果你只有一个节点相同的集群,那就是一样的。为此,您可以拥有另一个集群。

查看 答案,其中有一些关于用户数据迁移可能遇到的障碍的详细信息和讨论。