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 6638233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:24:40+00:00 2026-05-25T23:24:40+00:00

This is a pretty open question. I was wondering: how can you handle concurrency

  • 0

This is a pretty open question. I was wondering: how can you handle concurrency if you have a web application that is hosted on many computers on the server side? For example, how can you manage a simple stack if you have an ASP .NET application running on different machines with each one having its own memory? Is there something I’m missing?

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-25T23:24:41+00:00Added an answer on May 25, 2026 at 11:24 pm

    If I understand the question correctly: how do multiple Web servers co-ordinate to return responses?

    In general a farm of Web servers will serve up exactly the same HTML to clients when a particular request arrives. If there’s a need to store state – suppose the user posts back a form with data, or session state is used to keep track of a shopping cart – then you’ll need some shared mechanism to do that.

    There’s plenty of ways to share state between multiple instances of a Web server:

    • A database can store data that needs to be persisted indefinitely, such as user profile information
    • Similarly, a key-value store (like the Windows Azure table storage) can be used for permanent storage, with advantages in performance over less flexibility when querying
    • Shared session state (using a database or central session state server) can store moderately-persistent data that’s local to the current session

    Things can get complex, though:

    • If data is cached, you may need to have a mechanism to expire the cache on each Web server
    • Eventually, contention over shared session storage or database storage can negate the advantages of multiple Web servers

    To get around this some systems use the principle of “eventual consistency”, where, for instance, a profile update might not be replicated immediately to every server in a cluster. Not-quite-fresh data is sometimes regarded as good enough.

    As you can tell this is a complex subject and I’ve only really skated around the edges of it.

    The good news is that generally you won’t need to bother as unless you’re creating a very large or complex site most modern server hardware can handle many tens of requests per second without breaking into a sweat. It’s only when you start to move above a few dozen simultaneous requests per second that Web farms start to be necessary.

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

Sidebar

Related Questions

This a VERY open question. Basically, I have a computing application that launches test
This is a pretty open ended question. I have a T-Mobile Touch and have
This is a very open question about a problem that we have. Basically, we
Pretty long question; How can I do the following in C#: Open a web
I realize this is a pretty open question and could get a variety of
Although this is pretty basic, I can't find a similar question, so please link
This is a pretty open-ended question, so I'm not looking for code examples. Just
This is going to be a pretty open ended question; but at this point
It looks like this question is pretty simple but I can't find the clear
I know this may be a pretty open ended question, but I am trying

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.