使用Web Garden模拟Web Farm会话问题?

发布于 2024-10-12 02:12:46 字数 197 浏览 2 评论 0原文

我刚刚在 IIS 应用程序池中偶然发现了“网络花园”的概念。也就是说,当多个进程服务同一网页时。据我了解,这意味着 ASP.NET InProc 会话与网络场具有相同的问题。

我的问题是,假设您的生产环境是网络场,但您的开发/测试环境不是,那么在开发/测试中设置“网络花园”会有帮助吗?我认为这将有助于尽早发现任何多进程/服务器问题,或者至少确认一切都按预期工作。

I just stumbled across the concept of a "Web Garden" in an IIS App Pool. That is, when more than one process serves the same webpage. From what I understand, this means ASP.NET InProc sessions have the same problems as a web farm.

My question is, assuming your production environment is a web farm but your development/test environment is not, would it be helpful to set up a "Web Garden" in dev/test? I'm thinking this would help catch any multi-process/server issues early on, or at least confirm that everything works as expected.

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

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

发布评论

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

评论(1

耶耶耶 2024-10-19 02:12:46

我过去曾尝试过这个想法,它可能会有所帮助,但我想说它仍然不理想。为了获得最佳的测试场景,您只需使用与生产站点类似的硬件即可。

除此之外,网络园艺将帮助您处理一些项目和问题识别,具体取决于您需要如何使用它。

我们最大的问题是,我们有一些项目确实需要知道它们所在的服务器,而对于园艺,您在应用程序级别没有这种区别。

I have toyed with this idea in the past, it can be helpful, but I would say it still isn't ideal. To get the best test scenario you want to simply be on similar hardware to that of your production site.

Barring that though, Web Gardening will help you with SOME items and issue identification depending on how you need to work with it.

Our biggest issue with it is that we have some items that truly need to know what server they are on, and with gardening, you don't have that distinction at the application level.

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