简体   繁体   English

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

[英]Use Web Garden to simulate Web Farm session issues?

I just stumbled across the concept of a "Web Garden" in an IIS App Pool. 我刚刚在IIS应用程序池中偶然发现了“Web Garden”的概念。 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. 据我所知,这意味着ASP.NET InProc会话与Web场具有相同的问题。

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? 我的问题是,假设您的生产环境是一个Web场,但您的开发/测试环境不是,那么在dev / test中设置“Web Garden”是否有帮助? I'm thinking this would help catch any multi-process/server issues early on, or at least confirm that everything works as expected. 我认为这有助于及早发现任何多进程/服务器问题,或者至少确认一切都按预期工作。

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. 除此之外,Web园艺将帮助您处理某些项目并根据您需要使用它来发布问题。

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. 我们最大的问题是我们有一些项目真正需要知道他们在哪个服务器,并且在园艺方面,你没有在应用程序级别上有这种区别。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM