gpt4 book ai didi

Azure appfabric服务总线负载平衡+ session 关联(粘性 session )

转载 作者:行者123 更新时间:2023-12-04 08:31:17 26 4
gpt4 key购买 nike

我正在通过互联网进行搜索,我发现这在 Azure 外部/内部端点上是不可能的... How does Windows Azure perform load balancing?

但我正在寻找的是,服务总线上是否可以进行 session 关联。我什至用修改过的 EchoSample 进行了自己的研究,但没有成功。我尝试过 ws2007HttpRelayBindingnetTcpRelayBinding 并最终得到:

System.ServiceModel.CommunicationException: The remote endpoint no longer recognizes this sequence. This is most likely due to an abort on the remote endpoint. The value of srm:Identifier is not a known Sequence identifier. The reliable session was faulted.

那么问题来了:是否可以做到“服务总线负载均衡+ session 亲和性”?

最佳答案

据我所知,没有办法让 session 在 Azure 上持续存在。由于节点可用性的变化,您无法对将获得哪个节点做出任何假设。如果您需要 session 状态 - 您需要从前端总线进行外部管理(Azure 数据库、Azure 存储、远程数据库、远程存储等)。这可能是云的潜在问题之一 - 您不再获得完全控制权。你只需要在解决问题的方法上发挥创意即可。

关于Azure appfabric服务总线负载平衡+ session 关联(粘性 session ),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8324038/

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