有哪些机制可用于在 ASP.NET 应用程序中共享会话状态?
因此,我们正在扩展我们的应用程序以拥有两台 Web 服务器,如果一切顺利的话,明年左右很可能需要四到五台。
我知道在具有 SQL Server 和 ASP.NET 状态服务器的服务器之间共享会话状态。然而,我有点担心 ASP.NET 状态服务器的单点故障,并且由于我们不使用 SQL Server 做其他事情,所以我也宁愿避免使用该提供程序。
我有什么选择?哪些自定义状态服务器是轻量级的,可以支持多台计算机之间的故障转移,并且不需要 SQL Server 的许可开销?
So we're scaling out our application to have two Web servers, and will most likely need four or five in the next year or so if all goes well.
I'm aware of sharing session state between servers with SQL Server and the ASP.NET state server. However, I'm a little concerned about the single-point-of-failure with the ASP.NET state server, and as we don't use SQL Server for anything else I'd rather avoid that provider, too.
What are my alternatives? What custom state servers are out there that are light-weight, can support fail-over between multiple machines, and don't require the licensing overhead of SQL Server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看以下任一内容:
Memcached:http://memcachedproviders.codeplex.com/
或
AppFabric:http://msdn.microsoft.com/en-us/library/ee790859.aspx
两者都是免费的。
还有横向扩展状态服务器,但您必须为此付费: http://www.scaleoutsoftware .com/products/scaleout-sessionserver/
Take a look at either:
Memcached: http://memcachedproviders.codeplex.com/
or,
AppFabric: http://msdn.microsoft.com/en-us/library/ee790859.aspx
Both are free.
There's also scale out state server, but you have to pay for it: http://www.scaleoutsoftware.com/products/scaleout-sessionserver/