gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 08:06:56 24 4
gpt4 key购买 nike

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

是否可以在服务结构集群中并行部署具有不同版本的相同服务,然后根据客户标识符将客户引导至每个版本?在将所有客户迁移到新版本的服务之前,我们希望对新版本进行 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

如果您只有一个具有相同节点的集群,那么它将是相同的。您可以使用另一个集群来实现此目的。

看看this回答,因为有一些关于用户数据迁移可能遇到的障碍的细节和讨论。

关于azure - Service Fabric - 无状态服务的 A/B 测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38482603/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com