使用 AppFabric 作为 asp.net 的会话状态服务器是否使其具有高可用性?

发布于 2024-09-30 20:08:16 字数 355 浏览 0 评论 0原文

我有一个 4 服务器 asp.net 农场。我想使用 AppFabric 作为我的会话状态服务器,但我不确定它是否会执行我想要的操作。一些问题...

1:如果某些节点崩溃,是否会丢失任何会话数据?

2:每台服务器是否都有会话数据的副本,以防发生故障?

该文档指出,您需要运行 Windows Server 2008 Enterprise Edition 或更高版本才能获得 AppFabric 的“高可用性”功能。我正在运行 Windows Server 2008 标准版。

3:这是否意味着我需要企业版才能在某些节点发生故障时确保会话数据的安全,或者 AppFabric 是否会在发生故障时自动将会话数据复制到所有计算机上?

I have a 4 server asp.net farm. I want to use AppFabric as my session state server but I'm not sure if it will do what I want it to do. Some questions...

1: If some of the nodes crash, is any of the session data lost?

2: Does each server have a copy of the session data in case of failure?

The documentation states that you need to be running Windows Server 2008 Enterprise Edition or above for the "High Availability" features of AppFabric. I am running Windows Server 2008 Standard.

3: Does that mean I need the enterprise edition to have my session data stay safe if some of the nodes fail, or does AppFabric automatically keep the session data copied on all machines in case of failure?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

送你一个梦 2024-10-07 20:08:16

我还没有对会话状态位进行太多研究,所以这通常基于 AppFabric。

如果您不是企业版,则无法使用高可用性:-(本质上,在非 HA 场景中,每个缓存都“绑定”到集群中的单个节点,因此您问题的答案是 -这取决于哪个节点崩溃了。如果是那个有缓存的节点,那么你就完蛋了。
但是,如果您处于 HA 环境中,则任何在启用辅助选项的情况下创建的缓存都会有两个分布在节点上的缓存副本,这样,如果一个副本出现故障,另一个副本就会恢复负载(并且在另一个节点上创建另一个辅助副本)。

此处对 AppFabric 的 HA 有相当好的概念解释。

I have't played much with the session state bits yet so this is based on AppFabric generally.

If you're not on Enterprise Edition, you can't use high availability :-( Essentially, in a non-HA scenario, each cache is 'tied' to a single node in your cluster, so the answer to your question is - it depends which node crashes. If it's the one that's got the cache on it then yes, you're boned.
If, however, you are in a HA environment any cache that is created withthe Secondaries option switched on, has two copies of the cache spread across the nodes so that if one goes down, the other copy picks up the load (and another secondary copy is created on another node).

There's quite a good conceptual explanation of HA for AppFabric here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文