Question

Maximum Concurrent TCP Limitations in Real World

Asked by: akaSurreal

Ok guys, I really need to know what a real-world example is of what to expect the maximum number of concurrent tcp sessions to be in a real world environment?  The hardware will be some kind of Dual Opteron with as much memory as is needed.  Also assume that these connections didn't all come in at the same time, they were sufficiently spread out.

My company is building a custom server that would allow a large number of people to stay connected over TCP for hours at a time.  Most of that time would be doing almost nothing as far as network traffic is concerned.  I know of connectionless-UDP models but we have alread decided that they will not work for our needs.  I would appreciate if you please try to answer my question instead of telling me "how I should do it".  Thank you.

I have searched extensively on here and I have seen my question asked a number of times with the same answer, "there is no limit".  This is obviously not true in the real world or else I could run the busiest of servers on an old 486 in my garage. =)

My Questions are:

1) Are there any kind of limits imposed by the OS (Windows 2003 or 2000) and if so can they be changed in any effective way?  I am not looking for theory but proven methods please.  I know others have had needs to run lots of connections out there so there must be solutions besides throwing 100 machines at it.

2) Considering the data I have detailed above, what limitations would I be running into?  OS, CPU, Memory, etc?  Let's leave adding machines out of this equation please.

3) Does anyone know of any real world examples showing what numbers people have been able to achieve and what bottlenecks prevented them from going higher on a single machine?

Thank you for very much your time and help.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-08-01 at 17:42:43ID21512146
Tags

concurrent

,

tcp

,

maximum

Topic

Windows 2003 Server

Participating Experts
1
Points
500
Comments
17

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. What is max concurrent TCP connections?
    I am doing the initial design on a system which has the potential for 100k+ concurrent TCP connections, and I want to be sure I am not designing my way down a blind alley. The general traffic per client will be minimal -- only the standard TCP "tickle" packets to m...
  2. Concurrent Connections
    Does anyone have a work around to the 10 concurrent connection limit in XP Pro. I am trying to connect printers to multile users and Bill Gates is cramping my style. Why could'nt he make it 30 users or 40. But 10? Any help would be appreciated.
  3. What is the reasons of spreading viruses in LAN ?
    Hi all of security experts ! I work now in microsoft netowrk that conatins about 800 PCs win2000 and XP and controlled by DC . I need to know 1.generally what is the reasons of spreading viruses in LAN ? 2.as technician members we have limited rights in doamin and we a...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: gsgiPosted on 2005-08-01 at 18:00:29ID: 14575660

I have taught CS at a Univ and been a consultant for years, so by definition then I must be able to say something worthwhile, right! :-)  Well I have absolutely no idea.  But, maybe I can point you North towards some answer that will help you.  Lets take for instance a busy exchange server.  The people I studied exchange with that hosted large installations > 50,000 users used at least 5 machines.  That is 10,000 accounts per machine.  E-mail is intensive.  Figure 1,000 heavy communications and 9,000 just sitting in outlook or having it closed.  Maybe this is reasonable, maybe I am way off.

Now lets look at a database server model.  You can again have 1000's of people hitting a machine.  10,000 - that's a big machine.  I'd call IBM.  They outsource and will scale.  When you have 1,000 people hitting the box, it might be expensive.  By the time you have 1,000,000 using your service, IBM will probably seem cheap!

Now how about a DNS server, well those don't use TCP sessions that remain with a heartbeat, but assuming that we ran a lightweight like service that did maintain a live TCP session, I'd go with 5,000.  But I'd be guessing.  I would ask isp, mail administrators, and web developers, and database people in addition to those here in the Server group.

-gsgi

 

by: akaSurrealPosted on 2005-08-01 at 20:09:14ID: 14576073

gsgi, thank you.  The numbers you mentioned on exchange server are interesting.  Any idea what kind of hardware they are using for that load of 10K per machine?

Anyone else have any data?

 

by: gsgiPosted on 2005-08-01 at 20:39:31ID: 14576186

Well that was five years ago, and I believe they were 4 processor pentium 200 machines running advanced server with about 2gb's each.

Here's a rough idea of Experts Exchange setup: "There's a database server with a redundant backup. There are eight on-line webservers, with backups. There are two email servers dedicated just to sending notifications and nothing else."  So that is 10 servers for 60,000 active users of the 3 million users.   Do you see a bottleneck?  1 Database server (no bottleneck) - 2 email servers sending e-mails (different than my example above which was users not dedicated to sending only) - 8 web servers!  So you see, it is the *task* that matters as much as the number of connections.  Even then though, if there really are 60,000 active users, then there are 6,000 users per server if there are really 10 servers.  That's lower than my example, but we see a web server bottleneck.  Same with hotmail - its a farm of servers.  By the way, you can run a farm of windows servers (like 10) run on one physical box - its called a vmware solution.  I think they put it on a IBM RS 6000 machine.

-gsgi

 

by: akaSurrealPosted on 2005-08-01 at 20:49:42ID: 14576208

Do you think the numbers would scale then based on the Exchange server using 5 year old equipment.  Say a top of the line server nowadays for example.  Do you think it would then do 10 times the user limit?  I also wonder if there are OS level limits in Windows that you would reach first?

 

by: gsgiPosted on 2005-08-01 at 21:23:12ID: 14576327

Not for windows.  For windows maybe x 2 but for linux, apache, mysql, maybe better -

This guy is at 1 server per 50,000 users - I would be less optimistic.  Although at 4% usage, see the post below the link, that's only 2,500 concurrent users per server.  Even this optimist has more content (web) servers than database servers.

http://www.experts-exchange.com/Storage/Q_21400842.html?query=%22how+many+servers+for%22+users&clearTAFilter=true

-------------------
 Accepted Answer from infotrader
Date: 03/18/2004 01:09PM PST
      Accepted Answer       

Also, it's not likely that you'll have all of your clients accessing the server at the same time.  According to past experience, you should normally expect 1 to 4% of users... Typically, if your user base is 100 people, maybe only 2 would be watching at any given time.

- Info
--------------------

 

by: akaSurrealPosted on 2005-08-01 at 21:49:43ID: 14576406

Thank you for your help.  I suppose I will only really know after testing my application since its unique to what others are doing.  Web servers are designed to kick you off as soon as possible, whereas my server is meant to hold the connection until the user leaves in hours or days.  Webserver statistics I find to be not very useful because of this.

The only other thing I am looking for right now is to know if there are OS limitations on 2K/2K3 (Server Editions) and if there is anything I can do about them if they exist.  No point in desiging something that won't work no matter what if you see what I mean?

 

by: gsgiPosted on 2005-08-01 at 22:00:49ID: 14576440

Why would you use Windows for this?  Why not put it on a Linux Box?

 

by: akaSurrealPosted on 2005-08-01 at 22:15:38ID: 14576480

Actually our server code is written to be portable between Linux and Windows.  I want to know for both platforms what I can expect to achieve in a realistic scenario, but it will be getting a lot more Windows use initially.

 

by: gsgiPosted on 2005-08-01 at 22:35:08ID: 14576541

how many users do you have ready to test it - you could throw it up at shared hosting site and blast away. - gsgi

 

by: akaSurrealPosted on 2005-08-01 at 22:43:44ID: 14576562

The project is in secret development at the moment and not ready for the public.  We have some pretty high end servers on multiple 100mb pipes that we are testing internally on.

We are writting a load-test application that we can run from many other servers to try to simulate a lot of users, but once again, I was looking for anyone's existing real-world data and possible OS limitations.  I don't want to spend months trying to optimize somethign that is not in my code/design/control.

 

by: gsgiPosted on 2005-08-01 at 22:56:48ID: 14576613

Here some stuff I found:  again, I am seeing between 10,000 and 100,000 users per server depending on what it is doing and how efficient the code goes.
And again, web serving is at the bottom of that.

http://netwinsite.com/dmail/perform.htm

http://office.microsoft.com/en-us/assistance/HA011647621033.aspx

http://www.google.com/search?hs=Vc9&hl=en&lr=&safe=off&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial_s&q=hardware+requirements+%2210%2C000+users%22&btnG=Search

 System Requirements - MailMarshal for SMTP

Hardware and Software:
Hardware requirements naturally vary depending on the number of email users and the amount of email traffic. The following minimum specifications are suggested as a guideline:

1,000 Users:

    * Pentium 1.8Ghz
    * 10Gb Hard Disk Drive*
    * 512Mb Ram

10,000 Users:

    * Dual Pentium 1.8Ghz
    * 60Gb Hard Disk Drive*
    * 1024Mb Ra

 

by: akaSurrealPosted on 2005-08-01 at 23:02:59ID: 14576638

gsgi,

My only problem with this information is that it's very hard to show how many "concurrent" users we are talking about in any of those scenarios.  Your first example of Exchange Server was probably the best because I believe it does keep a constant connection open to the server.  Most other mail platforms only "poll" the server occassionally.  If I read this right D-Mail for example limits you to 200 concurrent by default.

Regardless, Thank you for your help and I will for sure give you some of the points.

 

by: gsgiPosted on 2005-08-01 at 23:08:19ID: 14576668

OK, but everybody knows that Exchange is not the fastest.  Groupwise, by Novell, is probably a more realistic measure in the e-mail world, and they are moving to Linux for their platform and most of their customers (left) are really big - 10,000s of users.  - good luck - gsgi

 

by: akaSurrealPosted on 2005-08-02 at 14:17:27ID: 14583670

Anyone else? Still looking for futher real-world examples and/or information about OS Limitations.

Thanks.

 

by: akaSurrealPosted on 2005-10-12 at 12:48:22ID: 15072173

I never did receive the kind of answer I was looking for, but GSGI did give me some insights, so I will award him the points, but I feel I may need to ask this question again in the future.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...