Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7487953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T14:41:57+00:00 2026-05-29T14:41:57+00:00

I am using asp.net 4.0 with C# and my application is hosted on web

  • 0

I am using asp.net 4.0 with C# and my application is hosted on web farm which consist 2 sever with load balancer now I want to create web garden on each server to assign multiple process for application (To enhance application perfomance). Is it possible to create web garden inside webfarm.If yes then what changes I need to do, alll asp.net controls and state mgmtlike session application, caching woking fine or i need to do some setting for that Please suggest.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T14:41:58+00:00Added an answer on May 29, 2026 at 2:41 pm

    From the moment that you have web farm, the web garden must work with out any issue.

    Web Farm is when you add 2 or more computers to run actually the same content.

    Web garder is when you add on one computer 2 or more working process for the same application.

    What you need to take care is the synchronization of the data. The Data must be the same on both computers, and on every working process. From the moment that you have all ready web farm I suppose that you use session on database that is common to both computers, so the same session is going to be used on web garden.

    Also I suppose that if you use database, this is shared for the 2 computers, and you take care with the synchronization when you write data.

    The synhronization is done inside a thread using the lock, inside a web garden using the mutex, and inside the web farm + web garden using a common mutex file name among computers, or some part of the database.

    If you not write any data, then you do not need other synchronization other than the common session database. All the extra thinks that you have to take care here is the common data.

    Session on InProc

    If you use Inproc session then the session is keeped on the memory on each computer.

    Now if the load balance take care to send all the calls from the same user to the same computer it will work.

    If not load balance take case to send all calls from the same user to the same computer then as you understand the same user can possible have two different session data, one on each computer, and because the session is keeped on same cookie name you probably have a mess with the session.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET web application hosted in a web-farm environment, and I need
I want to test ASP.NET application using NUnit, but it seems WebConfigurationManager.ConnectionStrings collection is
The situation: a workflow hosted in ASP.NET application using WorkflowServiceHost and contains durable delay
I have a Asp.net/C# web Application hosted under IIS7.5 server 2008 64bit. my application
I have an intranet ASP.NET web application in which I need to get the
I have a basic 3 tier app Presentation/Web (ASP.NET MVC) Application Services (WCF, hosted
I am designing an ASP.NET web application (.NET 4.0) which basically has a page
I have created an ASP.NET Webforms web application which basically inetracts with the code
I'm working on a stock-standard, ASP.NET MVC 3 web application (hosted on IIS 7).
I have a web application written in asp.net mvc2. Currently hosted on amazon cloud

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.