Use Web Garden to simulate Web Farm session issues?
Asked Answered
C

1

6

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.

Crepuscular answered 13/1, 2011 at 21:1 Comment(0)
J
2

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.

Justiciar answered 13/1, 2011 at 22:11 Comment(1)
I agree having a similar setup as production is ideal, but sometimes budgets and priorities don't support it. Most of what I work on is server-agnostic, so that part wouldn't affect me. Anyway, good discussion...Crepuscular

© 2022 - 2024 — McMap. All rights reserved.