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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:58:40+00:00 2026-06-16T05:58:40+00:00

I have an ASP.NET MVC3 application. If my application had a large number of

  • 0

I have an ASP.NET MVC3 application.

If my application had a large number of users – let’s say 100,000 – hypothetically, if all users were talking to each other and I used SignalR, would there be 100,000 long polling connections? Would these cause some sort of denial of service?

Should I be using AJAX HTTP instead? Or would SignalR be smart enough to release the connection to resource pool when no activity is found for certain period of time?

When would using signalR for chat be recommended for chat versus AJAX?

  • 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-06-16T05:58:41+00:00Added an answer on June 16, 2026 at 5:58 am

    You can disable all the DoS attack protections on a windows server fairly easily. However, that won’t necessarily solve your problem. 100,000 connections will require multiple servers for something like this.

    Your first limitation is that per IP address you’ve only got about 65,000 possible tcp ports to service connections (65,535 but less reserved ports, etc rounded off). So you either need a massive server with multiple IP addresses (likely unreliable and a single point of failure in your system/app) or you need multiple servers behind some kind of load balancer.

    Also with long polling, you are seeing a consistent “turn over” of connections as each long polling connection ends and a new one is started. TCP ports are not reused instantly but rather the fastest configurable TCP timed wait delay is 30 seconds. So even 65,000 connection is unrealistic, I’d half that just for port reuse. Then you need to factor in any other http requests arriving at that server for web pages, rest api, or other static resources. Then factor in any other processing the processors/memory must do for saving/formatting data. So I’d further reduce that probably another half. I’d say 15,000 clients per server is a realistic maximum. So for 100,000 user you’re looking at probably 7 servers minimum in a load balanced cluster.

    Last I checked SignalR does not work in a multi-server environment like that. Likewise AJAX or any other “frequent refresh” method will suffer similar physical limitations for the number of available tcp ports/sockets, etc. You just can’t service 100,000 clients on one server with a high frequency of http requests like that.

    I’ve done a fair amount of testing with large scale loads like this using WebSync for ASP.net using multiple servers on Amazon EC2. I work for FrozenMountain and one of my jobs this last year was to do some multi-server load balanced testing on Amazon EC2 Cloud. Amazon cloud services offer a nice sticky load balancer and easy duplication of your servers for testing. In “laboratory conditions” (dedicated servers not doing other stuff) we could exceed 20k clients on Amazon’s “large instance” which is a quad core server with 7.5gb ram.

    Its also worth pointing out that with the latest Server/IIS/Websync you get WebSockets support which will help reduce the port turnover and reuse as each client can maintain a single persistent socket connection to the web server. That can potentially increase your client count per server. So you might be able to go from a 7 server cluster down to maybe 4-5 servers depending on the adoption rate of websocket compatible browsers/clients. (Web browser based JavaScript clients won’t have a high adoption rate, native devices like iPhones or Android devices will all have websocket support, so you’ll see the full benefits right away). WebSync will fail back from WebSockets to Long Polling if the client doesn’t support web sockets.

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

Sidebar

Related Questions

I have a ASP.NET MVC3 application that handles time-consuming processes (copying a large file
I have hosted my asp .net mvc3 application in iis server 7. I had
I have a asp.net MVC3 Application with two users Admin and General.Cookies is saved
My application is in Asp.Net MVC3, i have two Users(Admin and general).Im maintaining the
I have an ASP.NET MVC3 application that I have built and it has two
I have written an ASP.NET MVC3 Web application which runs perfectly inside the Visual
In my asp.net mvc3 application, I have a custom Authorization Attribute as seen below.
I am creating an ASP.NET MVC3 application using NHIBERNATE. I have a base class
I have a problem with a model in a asp.net mvc3 application. First of
This is about asp.net mvc3 web application. We have used Object cache to store

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.